Log In · Register

 
who's good w/ HTML?!, can anyone solve this?!
mzhong
post Aug 4 2004, 12:37 AM
Post #1


Newbie
*

Group: Member
Posts: 2
Joined: Aug 2004
Member No: 37,200



HELPPPP ME! i'm tyring to use the navigation sublinks thingie.. but when i hover over the first links, the sublinks don't appear! roarrrr! ><
----------------------------

<!-- begin code provided by createblog.com -->
<CENTER><FONT size:10pt font ms trebuchet family:>* <A onmouseover=showit(0)
href="http://www.xanga.com/">xanga</A> * <A onmouseover=showit(1)
href="http://www.xanga.com/private/home.aspx">controls</A> * <A
onmouseover=showit(2) href="http://www.xanga.com/ZxAnGxiiixNim">Mz_HONG</B></A>
* <A onmouseover=showit(3) href="http://www.xanga.com/blogrings">blogringz</A> *
<BR><ILAYER bgColor="#" name="dep1" height="32" width="400"><LAYER name="dep2"
height="30" width="400"></LAYER></ILAYER>
<DIV id=describe onmouseover=clear_delayhide()
style="WIDTH: 500px; HEIGHT: 10px" onmouseout=resetit(event)></DIV>
<script language=JavaScript1.2>

/*
Tabs Menu (mouseover)- By Dynamic Drive
For full source code and more DHTML scripts, visit http://www.dynamicdrive.com
This credit MUST stay intact for use
*/

http://premium.xanga.com/Private/Premium/x...ivate/home.aspx

var submenu=new Array()

//Set submenu contents. Expand as needed. For each content, make sure everything exists on ONE LINE. Otherwise, there will be JS errors.

submenu[0]='<font size="1" face="trebuchet ms">- <a href="http://www.xanga.com/signin.asp">sign in</a> - <a href="http://www.xanga.com/logout.asp">Bounce baybee</a> - <a href="http://www.xanga.com/register.asp">membership</a> -</font>'

submenu[1]='<font size="1" face="trebuchet ms">- <a href="http://www.xanga.com/CLAF/default.asp">look&feel</a> - <a href="http://xanga.com/private/subscriptions.aspx">subscriptionz</a> - <a href="http://xanga.com/private/feedback.aspx">feedback logz</a> -</font>'

submenu[2]='<font size="1" face="trebuchet ms">- <a href="http://www.xanga.com/Private/SubscribeTo.aspx?user=ZxAnGxiiixNiM">Add ME</a> - <a href="http://www.xanga.com/guestbook.asp?user=ZxAnGxiiixNiM">sign g-book</a> -</font>'

submenu[3]='<font size="1" face="trebuchet ms">- <a href="http://www.xanga.com/groups/group.aspx?id=133399">++ // PiNK iS GANGSTA ;]</a> - <a href="http://www.xanga.com/groups/group.aspx?id=8138">++ [ canaan crew ] ++</a> - <a href="http://www.xanga.com/groups/group.aspx?id=226142">[[CHATTAHOOCHEE HS]]</a> - <a href="http://www.xanga.com/groups/group.aspx?id=454820">SYNOD '04</a> - <a href="http://www.xanga.com/groups/group.aspx?id=18262">KCPC Atlanta</a> -</font>'

//Set delay before submenu disappears after mouse moves out of it (in milliseconds)
var delay_hide=500

/////No need to edit beyond here

var menuobj=document.getElementById? document.getElementById("describe") : document.all? document.all.describe : document.layers? document.dep1.document.dep2 : ""

function showit(which){
clear_delayhide()
thecontent=(which==-1)? "" : submenu[which]
if (document.getElementById||document.all)
menuobj.innerHTML=thecontent
else if (document.layers){
menuobj.document.write(thecontent)
menuobj.document.close()
}
}

function resetit(e){
if (document.all&&!menuobj.contains(e.toElement))
delayhide=setTimeout("showit(-1)",delay_hide)
else if (document.getElementById&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget))
delayhide=setTimeout("showit(-1)",delay_hide)
}

function clear_delayhide(){
if (window.delayhide)
clearTimeout(delayhide)
}

function contains_ns6(a, b) {
while (b.parentNode)
if ((b = b.parentNode) == a)
return true;
return false;
}

</SCRIPT>
<!-- end code provided by createblog.com -->
 
 
Start new topic
Replies
mzhong
post Aug 5 2004, 11:20 PM
Post #2


Newbie
*

Group: Member
Posts: 2
Joined: Aug 2004
Member No: 37,200



bahh. it still doesn't work. hmm.. this html works, but when i changed it for mine, it doesn't ------------------------

<!-- begin code provided by createblog.com -->
<CENTER><FONT size:10pt font ms trebuchet family:>* <A onmouseover=showit(0)
href="http://www.xanga.com/">xanga</A> * <A onmouseover=showit(1)
href="http://www.xanga.com/private/home.aspx">controls</A> * <A
onmouseover=showit(2) href="http://www.xanga.com/Oomi12acleoO">gina</B></A>
* <A onmouseover=showit(3) href="http://www.xanga.com/blogrings">blogringz</A> *
<BR><ILAYER bgColor="#" name="dep1" height="32" width="400"><LAYER name="dep2"
height="30" width="400"></LAYER></ILAYER>
<DIV id=describe onmouseover=clear_delayhide()
style="WIDTH: 500px; HEIGHT: 10px" onmouseout=resetit(event)></DIV>
<script language=JavaScript1.2>

/*
Tabs Menu (mouseover)- By Dynamic Drive
For full source code and more DHTML scripts, visit http://www.dynamicdrive.com
This credit MUST stay intact for use
*/

http://premium.xanga.com/Private/Premium/x...ivate/home.aspx

var submenu=new Array()

//Set submenu contents. Expand as needed. For each content, make sure everything exists on ONE LINE. Otherwise, there will be JS errors.

submenu[0]='<font size="1" face="trebuchet ms">- <a href="http://www.xanga.com/signin.asp">sign in</a> - <a href="http://www.xanga.com/logout.asp">log out</a> - <a href="http://www.xanga.com/register.asp">membership</a> -</font>'

submenu[1]='<font size="1" face="trebuchet ms">- <a href="http://www.xanga.com/CLAF/default.asp">look&feel</a> - <a href="http://xanga.com/private/subscriptions.aspx">subscriptionz</a> - <a href="http://xanga.com/private/feedback.aspx">feedback logz</a> - </font>'

submenu[2]='<font size="1" face="trebuchet ms">- <a href="http://www.xanga.com/Private/SubscribeTo.aspx?user=Oomi12acleoO">subscribe now</a> - <a href="http://www.xanga.com/guestbook.asp?user=Oomi12acleoO">sign g-book</a> -</font>'

submenu[3]='<font size="1" face="trebuchet ms">- <a href="http://www.xanga.com/blogrings/blogring.asp?id=22373">* FAITH * HOPE * LOVE *</a> - <a href="http://www.xanga.com/blogrings/blogring.asp?id=12260">* kOrEaN pRyDe *</a> - <a href="http://www.xanga.com/blogrings/blogring.asp?id=14975">KOREAN CHRISTIANS!</a> - <a href="http://www.xanga.com/blogrings/blogring.asp?id=126866">Yosemite Summer Camps</a> -</font>'

//Set delay before submenu disappears after mouse moves out of it (in milliseconds)
var delay_hide=500

/////No need to edit beyond here

var menuobj=document.getElementById? document.getElementById("describe") : document.all? document.all.describe : document.layers? document.dep1.document.dep2 : ""

function showit(which){
clear_delayhide()
thecontent=(which==-1)? "" : submenu[which]
if (document.getElementById||document.all)
menuobj.innerHTML=thecontent
else if (document.layers){
menuobj.document.write(thecontent)
menuobj.document.close()
}
}

function resetit(e){
if (document.all&&!menuobj.contains(e.toElement))
delayhide=setTimeout("showit(-1)",delay_hide)
else if (document.getElementById&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget))
delayhide=setTimeout("showit(-1)",delay_hide)
}

function clear_delayhide(){
if (window.delayhide)
clearTimeout(delayhide)
}

function contains_ns6(a, b) {
while (b.parentNode)
if ((b = b.parentNode) == a)
return true;
return false;
}

</SCRIPT>
<!-- end code provided by createblog.com -->
 

Posts in this topic


Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: