Mac Forums

Mac Forums (http://www.mac-forums.com/forums/)
-   Web Design and Hosting (http://www.mac-forums.com/forums/web-design-hosting/)
-   -   How do I make an "After the jump" link? (http://www.mac-forums.com/forums/web-design-hosting/146899-how-do-i-make-after-jump-link.html)

rsherid 03-28-2009 07:08 PM

How do I make an "After the jump" link?
 
I have a lot of content that I don't want to display unless the visitor clicks on MORE seen, for example, here:
http://pitchfork.com/news/34944-chin...n-up-break-up/

All of the content stays on the same page, but only some of it's visible. How do I do that?

Murlyn 03-29-2009 03:26 PM

It's a bit of javascript and css.

Take a look at this page and it should help you a bit:

DHTML: Setting CSS Style with JavaScript

You'll want to change the css display from "none" to "block" and vice-versa. Or even use the example they have on the page, setting the visibility.

appleme 09-02-2009 03:06 PM

I agree or u could do everythind the longway so on click the JavaScript would be
document.write:("HTML code here")
and keep doing rows of the above


All times are GMT -4. The time now is 08:24 PM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.