Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rating: Thread Rating: 2 votes, 4.50 average.
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 05-14-2009, 05:58 PM   PM User | #1
gino_j
New to the CF scene

 
Join Date: May 2009
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
gino_j is an unknown quantity at this point
Click link to show text below

Is there a way I can make these things work:

http://codingforums.com/showthread.php?t=66418
&
http://www.dynamicdrive.com/dynamici...tchcontent.htm

using only HTML code? As in no Java what-so-ever?

Please help.
gino_j is offline   Reply With Quote
Old 05-14-2009, 07:15 PM   PM User | #2
VIPStephan
The fat guy next door


 
VIPStephan's Avatar
 
Join Date: Jan 2006
Location: Halle (Saale), Germany
Posts: 7,613
Thanks: 5
Thanked 865 Times in 842 Posts
VIPStephan is a jewel in the roughVIPStephan is a jewel in the roughVIPStephan is a jewel in the rough
This would only be possible if you had a new HTML file with exactly the same content but with the text section below present (expanded). You would then link to that new HTML file and it would look like the same page with the text showing up.

However, this is a little more complicated than necessary. Why don’t you wanna use JavaScript?
__________________
Don’t click this link!
VIPStephan is offline   Reply With Quote
Old 05-15-2009, 09:32 PM   PM User | #3
gino_j
New to the CF scene

 
Join Date: May 2009
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
gino_j is an unknown quantity at this point
I have no idea how to use JavaScript, my uncle just wanted me to make a small website for his business. I had no prior knowledge of HTML/CSS code at all, and I don't even know how to make a JavaScript file, let alone how to apply it...
gino_j is offline   Reply With Quote
Old 05-15-2009, 09:48 PM   PM User | #4
VIPStephan
The fat guy next door


 
VIPStephan's Avatar
 
Join Date: Jan 2006
Location: Halle (Saale), Germany
Posts: 7,613
Thanks: 5
Thanked 865 Times in 842 Posts
VIPStephan is a jewel in the roughVIPStephan is a jewel in the roughVIPStephan is a jewel in the rough
Well, the DynamicDrive script pretty much does what you want and you just have to copy and paste it. Of course you have to do a tiny little bit of reading to learn how to apply that script but that’s a prerequisite anyway if you’re building websites. And it’s not that different from the regular HTML work. In fact, this is the regular HTML work. You just insert a script reference which is an HTML tag, to associate an external script.
__________________
Don’t click this link!
VIPStephan is offline   Reply With Quote
Old 05-19-2009, 05:51 PM   PM User | #5
gino_j
New to the CF scene

 
Join Date: May 2009
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
gino_j is an unknown quantity at this point
Oh. Ok... Well, I guess I'd better start reading up on things. Also, since I've got you here and you're a "Senior Coder" according to this site, how would I make a link on a page that when you click on it, it scrolls down for you bringing you to the relevant text you want. Know what I mean?
gino_j is offline   Reply With Quote
Old 05-19-2009, 11:39 PM   PM User | #6
VIPStephan
The fat guy next door


 
VIPStephan's Avatar
 
Join Date: Jan 2006
Location: Halle (Saale), Germany
Posts: 7,613
Thanks: 5
Thanked 865 Times in 842 Posts
VIPStephan is a jewel in the roughVIPStephan is a jewel in the roughVIPStephan is a jewel in the rough
Code:
<a href="#section">internal link</a>
<a href="#dolor">another internal link</a>
…
…
…
<p id="section">text</p>
<p>Lorem ipsum <a id="dolor">dolor</a> sit amet</p>
__________________
Don’t click this link!
VIPStephan is offline   Reply With Quote
Reply

Bookmarks

Tags
click to appear, html, link, text appear

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 06:35 AM.


Advertisement
Log in to turn off these ads.