PDA

View Full Version : read more link?


nits4u
06-29-2009, 07:44 AM
how to insert "read more link" in a long article? Like mostly in blogs.

dzwestwindsor
07-01-2009, 12:41 PM
are you using a languange besides HTML and CSS for you blog? like php? cause if it is just HTML, you can make a link to another page that has the whole article.... but if it is a blog written with a different language, im not the person to ask. :)

nits4u
07-04-2009, 05:23 PM
yup m also using PHP..

DWcourse
07-04-2009, 05:30 PM
You can always just make the link the same way you'd make any other link <a href= etc., etc.

However if you are you using a CMS (Content Management System like WordPress) there is probably a way to insert it automatically. Are you using a CMS?

nits4u
07-09-2009, 09:56 AM
in that case whole of the page reloads. i don't want that.

can anybody do it by javascript ?

edbr
07-09-2009, 10:37 AM
search this forum coloeagle gave a javascript solution a few months ago

jaymo
07-09-2009, 10:57 AM
I use javascript to do a popup sometimes, here is an example...

function popup() {

window.open('newPage.php' "window", "status=1, height=600, width=800, resizable=1, scrollbars=1");
}

And the call it within the html...

<a href="#" onclick="popup()">Hyperlink Text</a>

Hope that helps

edbr
07-10-2009, 12:43 AM
yes but thats a pop up window. you can also use a show ansd hide function which , i think is what the OP is looking for

jaymo
07-10-2009, 11:41 AM
yeah i forgot to say have a look at the window.open function to make it not a pop up