Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > html code help

Reply
Thread Tools

html code help

 
 
jussa_inc@yahoo.co.uk
Guest
Posts: n/a
 
      02-06-2008
hi there
im a student in need of help. can anyone give me the code to make text
appear just below a link when clicked(not a pop-up)??
 
Reply With Quote
 
 
 
 
Ray
Guest
Posts: n/a
 
      02-06-2008
On Wed, 6 Feb 2008 03:01:52 -0800 (PST), wrote:

>hi there
>im a student in need of help. can anyone give me the code to make text
>appear just below a link when clicked(not a pop-up)??


Have a look here:
http://demo.fairsky.us/javascript/reveal_hide.html.

Just Ray
--
------------------------------------------------------------------------
Put your church or other christian based organization
on the internet today! Visit our website:
http://www.goodnewswebdesign.com
A Christian Web Design Company
------------------------------------------------------------------------
 
Reply With Quote
 
 
 
 
Sam UK
Guest
Posts: n/a
 
      02-07-2008
wrote:
> hi there
> im a student in need of help. can anyone give me the code to make text
> appear just below a link when clicked(not a pop-up)??


Tell you what. Have a go at it, show me that you've actually made some
effort to do your homework, and I will be happy to help you solve any
problems.
 
Reply With Quote
 
dorayme
Guest
Posts: n/a
 
      02-07-2008
In article
<97178bad-7966-4c7a-99b9-
m>,
wrote:

> hi there
> im a student in need of help. can anyone give me the code to make text
> appear just below a link when clicked(not a pop-up)??


Like this:

http://netweaver.com.au/alt/link.html

--
dorayme
 
Reply With Quote
 
Ed Jay
Guest
Posts: n/a
 
      02-07-2008
dorayme scribed:

>In article
><97178bad-7966-4c7a-99b9-
>m>,
> wrote:
>
>> hi there
>> im a student in need of help. can anyone give me the code to make text
>> appear just below a link when clicked(not a pop-up)??

>
>Like this:
>
>http://netweaver.com.au/alt/link.html


That's one way. Another way would be to use a div containing the hidden text
and use javascript to change the display style of that div. E.g.,

function show(div_id) {
target = document.getElementById(div_id);
target.style.display = "";
}

<a href="#" onclick="javascript:showDiv('div_to_show');">Click Me</a>

<div id="div_to_show" style="display:none;">
All your hidden text.....
</div>
--
Ed Jay (remove 'M' to respond by email)
 
Reply With Quote
 
dorayme
Guest
Posts: n/a
 
      02-07-2008
In article <>,
Ed Jay <> wrote:

> dorayme scribed:
>
> >In article
> ><97178bad-7966-4c7a-99b9-
> >m>,
> > wrote:
> >
> >> hi there
> >> im a student in need of help. can anyone give me the code to make text
> >> appear just below a link when clicked(not a pop-up)??

> >
> >Like this:
> >
> >http://netweaver.com.au/alt/link.html

>
> That's one way. Another way would be to use a div containing the hidden text
> and use javascript to change the display style of that div. E.g.,
>
> function show(div_id) {
> target = document.getElementById(div_id);
> target.style.display = "";
> }
>
> <a href="#" onclick="javascript:showDiv('div_to_show');">Click Me</a>
>
> <div id="div_to_show" style="display:none;">
> All your hidden text.....
> </div>


You can get go Sydney to Melbourne clockwise or anti-clockwise
around the continent. <g>

--
dorayme
 
Reply With Quote
 
 
 
Reply

Thread Tools

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
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
firefox html, my downloaded html and firebug html different? Adam Akhtar Ruby 9 08-16-2008 07:55 PM
Html code cleaner - Powerful HTML Code Compression Tool heren ASP .Net 1 09-14-2005 12:39 PM
How to stop HTML View from messing up HTML code Anders K. Jacobsen [DK] ASP .Net 3 01-22-2005 01:15 AM
HTML code warnings in asp.net html code view Craig Kenisston ASP .Net 3 10-07-2004 04:05 PM
Need help appending html code to many html files. Tom HTML 7 09-08-2004 11:55 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57