Log In · Register

 
 
Closed TopicStart new topic
menus, help me please
slayerangel
post Feb 4 2004, 06:07 PM
Post #1


Senior Member
***

Group: Member
Posts: 59
Joined: Jan 2004
Member No: 1,080



On the song chooser and posting calendar menus on my Xanga, you have to put your mouse over the text (highlighting the text) to actually make the options visible.

My Xanga

Is there a way I can make the text visible when you click on the drop down menu without having to highlight the text to see it? I'm not sure I'm explaining this clearly.
 
plunkd
post Feb 4 2004, 07:11 PM
Post #2


Member
**

Group: Member
Posts: 19
Joined: Jan 2004
Member No: 1,518



here's something i tried. it may not work the way you want it to, but have fun playing around with it:

Custom Header
CODE
<!-- begin code provided by createblog.com -->
<style type="text/css">
a,a:active,a:hover,a:link,a:visited,.boxLink,.linkMenu
{
background-color: #4848FF;
border: 4px outset #000055;
color: #000055;
cursor: normal;
display: inline;
font: normal normal bolder 10pt courier new;
height: 30px;
line-height: 100%;
margin: 0;
padding: 3;
text-align: center;
text-decoration: none;
text-indent: 0;
vertical-align: middle;
word-spacing: 0;
}
a:hover,a:active
{
background-color: #000055;
border: 4px inset #4848FF;
color: #4848FF;
cursor: crosshair;
text-transform: uppercase;
}
.boxLink
{
height: 30px;
padding: 10 0 0 0;
width: 125px;
}
.boxlink a,.boxlink a:link.boxlink a:hover.boxlink a:visited
{
width: 100px;
}
.linkMenu
{
width: 125px;
}
</style>
<!-- end code provided by createblog.com -->



Website Stats
CODE
<!-- begin code provided by createblog.com -->
<script language="JavaScript">
document.write("<div class='linkMenu'><table><tr><td><div class='boxLink'><A onmouseover='showIt(1)' href='http://www.xanga.com/home.aspx?user=plunkd'>tim</A></div></td><td><div class='boxLink'><A onmouseover='showIt(0)' href='http://www.xanga.com/'>xanga</A></div></td><td><div class='boxLink'><A onmouseover='showIt(2)' href='http://www.xanga.com/private/home.aspx'>you</A></div></td></tr></table></div>");
</script>
<LAYER name="dep1"></LAYER>
<LAYER name="dep2"></LAYER>
<DIV id="describe" onmouseover="clear_delay()" style="WIDTH:100%;height:50px" onmouseout="resetIt(event)"></DIV>
<script language="JavaScript">
// code provided by plunkd
var submenu=new Array();
submenu[0]="<div class='linkMenu'><table><tr><td><div class='boxLink'><a href='http://www.xanga.com/logout.aspx'>leave</a></div></td><td><div class='boxLink'><a href='http://help.xanga.com/'>help</a></div></td><td><div class='boxLink'><a href='http://www.xanga.com/signin.aspx'>sign in</a></div></td><td><div class='boxLink'><a href='http://www.xanga.com/register.aspx'>join</a></div></td></tr></table></div>";
submenu[1]="<div class='linkMenu'><table><tr><td><div class='boxLink'><a href='http://www.xanga.com/private/SubscribeTo.aspx?user=plunkd'>subscribe</a></div></td><td><div class='boxLink'><a href='http://www.xanga.com/profile.aspx?user=plunkd'>profile</a></div></td><td><div class='boxLink'><a href='http://www.xanga.com/guestbook.aspx?user=plunkd'>guestbook</a></div></td><td><div class='boxLink'><a href='http://www.xanga.com/send.asp?user=plunkd&tellafriend=message&port=home'>e-mail</a></div></td></tr></table></div>";
submenu[2]="<div class='linkMenu'><table><tr><td><div class='boxLink'><a href='http://www.xanga.com/CLAF/default.asp'>settings</a></div></td><td><div class='boxLink'><a href='http://www.xanga.com/private/xtools/xtoolsclassic.aspx'>new entry</a></div></td><td><div class='boxLink'><a href='http://www.xanga.com/Private/feedback.aspx'>feedback</a></div></td><td><div class='boxLink'><a href='http://www.xanga.com/Private/Subscriptions.aspx'>subscriptions</a></div></td></tr></table></div>";
var delay=500;
var menuObj=document.getElementById? document.getElementById("describe") : document.all? document.all.describe : document.layers? document.dep1.document.dep2 : "";
function showIt(which)
{
clear_delay();
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);
else if (document.getElementById&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget))
delayhide=setTimeout("showIt(-1)",delay);
}
function clear_delay()
{
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 -->
 
plunkd
post Feb 4 2004, 07:17 PM
Post #3


Member
**

Group: Member
Posts: 19
Joined: Jan 2004
Member No: 1,518



haha, sorry, i just reread you question and realized i just completly wasted my time.
i thought you were asking about the navigation stuff you have, like your 'cry me a river.'

i thought that was what you meant, because im using mozilla, and it worked fine. when i viewed it in IE i saw what you meant. i have no idea what you should do about it, but feel free to use the code i gave. its pretty much the only semi-original thing i have, so don't steal it please.

btw, in mozilla, but not in IE, your header (the song chooser and buffy banners) are displayed twice. im not sure why, but it looks stupid. also, the alert at the load of the page is annoying, and the disabled right mouse click is pointless. people can view your source or copy stuff many other ways.
 
aznhybriddragon
post Feb 4 2004, 07:30 PM
Post #4


Senior Member
*****

Group: Member
Posts: 946
Joined: Jan 2004
Member No: 603



well i know u have to edit in your css, lolz, but hold on, let me find wat it is.
 
aznhybriddragon
post Feb 4 2004, 07:46 PM
Post #5


Senior Member
*****

Group: Member
Posts: 946
Joined: Jan 2004
Member No: 603



Try This

Just put it Under Your Music, or after all your css stuff


CODE
<!-- begin code provided by createblog.com -->

<style type="text/css">
input, select, textarea, .textfield, .button {
/* this edits the buttons, dropdowns, etc. */
 border: 1px solid #FF0000;
 font:normal 11px arial;
 background-color: #000000;
 letter-spacing:0px;
 color: #FF0000;
 }
</style>
<!-- end code provided by createblog.com -->
 
slayerangel
post Feb 4 2004, 07:49 PM
Post #6


Senior Member
***

Group: Member
Posts: 59
Joined: Jan 2004
Member No: 1,080



QUOTE(plunkd @ 02-4-2004, 07:17 PM)
btw, in mozilla, but not in IE, your header (the song chooser and buffy banners) are displayed twice. im not sure why, but it looks stupid. also, the alert at the load of the page is annoying, and the disabled right mouse click is pointless. people can view your source or copy stuff many other ways.

I can't do anything about the banner in mozilla. Sorry. I know the no-right-click is definitely pointless 'cause people can use View Source (I do that too), but it's just fun having it there, lol. It's fun. I'm weird tongue.gif . I like the alert at the beginning. I'll keep it.

Thanks for giving me that code, anyway happy.gif .

Thanks, aznhybriddragon, I'll try it now biggrin.gif .

EDIT: Yayness! It worked! Thanks again. biggrin.gif happy.gif
 

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