What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » Html help

Pages: (2): « First [ 1 ] 2 » Last »
Html help
Author: Message:
absorbation
Elite Member
*****

Avatar

Posts: 3636
Reputation: 81
– / Male / Flag
Joined: Feb 2005
O.P. Html help
Ok before you ask i have searched for it :P But i want to know how to make a table dropdown text page. That's why i havnt found it :S

Well i dont know what to call it but http://www.stuffplug.com/?act=features seems to give an idea what i'm going on about.

http://www.msgstuff.com/links.html i want the subtitles to be clicked and when they are clicked they show their links and when clicked again they hide them :P

Does anyone know the code for this :S

Thanks :)

Edit: Fixed some spelling

This post was edited on 06-15-2005 at 04:09 PM by absorbation.
06-15-2005 04:06 PM
Profile PM Find Quote Report
Veggie
Full Member
***

Avatar

Posts: 415
Reputation: 21
37 / Male / Flag
Joined: Sep 2004
RE: Html help
Did you at least _try_ to do this before asking here? i have the JS source to hide and display elements but you just wont learn anything if i give it too you, google show and hiding divs using javascript theres hundreds of pages on it.

This post was edited on 06-15-2005 at 04:15 PM by Veggie.
06-15-2005 04:15 PM
Profile E-Mail PM Web Find Quote Report
Dempsey
Scripting Contest Winner
*****

Avatar
http://AdamDempsey.net

Posts: 2395
Reputation: 53
37 / Male / Flag
Joined: Jul 2003
RE: Html help
yea i agree with Veggie you should at least try it yourself before asking for it ready made, cos tbh your new site wont really be yours, all you would have done on the site is just put togther lots of scripts and code written by other people lol :p
SoundPacks   -   Scripts   -   Skins

that's not a bug, thats an unexpected feature
06-15-2005 04:17 PM
Profile E-Mail PM Web Find Quote Report
absorbation
Elite Member
*****

Avatar

Posts: 3636
Reputation: 81
– / Male / Flag
Joined: Feb 2005
O.P. RE: Html help
I have i've searched and looked at the sorce from a few websites but it never goes well.

*absorbation feels silly because veggie is the one that is always trying to get me do my own scripting :S

I hope that is not another classic quote :P

Give me the sorce if you can and thanks :)

Edit: I's only a basic code to make text show different things on a text click. Look at the links page it's a basic code i thought :P

This post was edited on 06-15-2005 at 04:19 PM by absorbation.
06-15-2005 04:18 PM
Profile PM Find Quote Report
Veggie
Full Member
***

Avatar

Posts: 415
Reputation: 21
37 / Male / Flag
Joined: Sep 2004
RE: Html help
If its only a basic code then whats the problem?




06-15-2005 04:28 PM
Profile E-Mail PM Web Find Quote Report
absorbation
Elite Member
*****

Avatar

Posts: 3636
Reputation: 81
– / Male / Flag
Joined: Feb 2005
O.P. RE: Html help
quote:
Originally posted by Veggie
If its only a basic code then whats the problem?

I have know idea what the code is, even the basics is it html or java? :$
06-15-2005 04:29 PM
Profile PM Find Quote Report
Veggie
Full Member
***

Avatar

Posts: 415
Reputation: 21
37 / Male / Flag
Joined: Sep 2004
RE: Html help
http://www.netlobo.com/div_hiding.html

First google result...

06-15-2005 04:33 PM
Profile E-Mail PM Web Find Quote Report
Matti
Elite Member
*****

Avatar
Script Developer and Helper

Posts: 1646
Reputation: 39
31 / Male / Flag
Joined: Apr 2004
RE: Html help
Me 2 the resque!

Put this in the <head> section:
code:
<script language=JavaScript>
function expand(thistag) {
   styleObj = document.getElementById(thistag).style;
   if (styleObj.display=='none') {styleObj.display = '';}   /when it's already invisible, make it visible again
   else {styleObj.display = 'none';}   /else, make it invisible
}
</script>
Now, place ur hided things in a <div>, like this:
code:
<div id="hide01" name="hide01" visibility="hidden"> ... </div>

The text which needs 2 show/hide it, should have 2 look like this:
code:
<a href="javascript:expand('hide01')">Show/hide thing</a>
And 2 make the <div> disappears when the page loads, add this to the <body> tag:
code:
<body onload="expand('hide01')">

And ur done! U can make more hided div's, just call them hide02 or something, make a link and add it back to the <body> onload!
Otherwise, it will appear when the page shows up.

Example (my site)
(I) On that page, there's also a [+] to [-] change when click. Check the script, and may the source be with you! ;)
Plus! Script Developer | Plus! Beta Tester | Creator of Countdown Live | Co-developer of Screenshot Sender 5

Found my post useful? Rate me!
06-15-2005 04:33 PM
Profile E-Mail PM Web Find Quote Report
Veggie
Full Member
***

Avatar

Posts: 415
Reputation: 21
37 / Male / Flag
Joined: Sep 2004
RE: Html help
Thats a terrible way of doing it! dont hide the content using a onload use a css display:none

In the <head>
code:
<javascript>
    function hide(obj)
    {
        var ele = document.getElementById(obj);
        var style = ele.style;
        var img = "img"+obj;
        var currentStyle = ele.currentStyle || window.getComputedStyle(ele, null);
        if (currentStyle.display == "none"){
            style.display = "block";
            document.getElementById(img).setAttribute('src','images/opentriangle.gif');
            }
        else{
            style.display = "none";
            document.getElementById(img).setAttribute('src','images/triangle.gif');
            }
    }
   
</javascript>


code:

<a href="#" onclick="javascript:hide('templates');return false;"><img src="images/triangle.gif" id="imgtemplates" border="0"> Templates:</a>

<div id="templates" style="display:none">
Content that hidden
</div>

Not sure if it will work as its taken out of my site....

This post was edited on 06-15-2005 at 05:24 PM by Veggie.
06-15-2005 04:35 PM
Profile E-Mail PM Web Find Quote Report
Ezra
Veteran Member
*****

Avatar
Forgiveness is between them and God

Posts: 1960
Reputation: 31
37 / Male / Flag
Joined: Mar 2003
RE: Html help
<javascript> doesn't excist :S

it's

<script language="javascript" type="text/javascript">
</script>

EDIT: The script does work btw (Y)

This post was edited on 06-15-2005 at 09:51 PM by Ezra.
[Image: 1-0.png]
             
06-15-2005 09:50 PM
Profile PM Web Find Quote Report
Pages: (2): « First [ 1 ] 2 » Last »
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On