Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Menu question 1

Status
Not open for further replies.
To be honest, it's hard to tell how to make it work like that by just viewing the javascript alone (since it is what writes out the entire menu). All the variable names have been switched around to similar names to make it harder to debug (changing them to names like 1ll1i and stuff like that). However, what I would suggest is to try encapsulating the call to the script that writes out the menu inside of a div and setting the background color on that div to match the menu. That should be the easiest thing to do. If that doesn't work, try contacting the makers of the menu and ask them what to switch - they will be the most familiar with the script.
Code:
<body bgcolor=#FFFFFF>
[!]<div style="background-color:[B][I]sameAsMenu[/I][/B]">[/!]
<script type="text/javascript" language="JavaScript1.2" src="newdata7.js"></script>
[!]</div>[/!]

</body>

-kaht

Looking for a puppy?

[small]Silky Terriers are small, relatively odorless dogs that shed no fur and make great indoor pets.[/small]
 
[lol]

I'm going to have to come up to new york at the end of this September so we can go to a game if the cards and mets square off Cory. Of course, if the braves stay on their hot streak the mets might not make it. And on the flip side, if the cardinals continue to lose games by 10+ runs they might not make it either (2 in a row to the braves coincidentally)

-kaht

Looking for a puppy?

[small]Silky Terriers are small, relatively odorless dogs that shed no fur and make great indoor pets.[/small]
 
definitely. should be a good time. i'm going to my fifth game this year on friday. mets are quite enjoyable to watch so far this year.



*cLFlaVA
----------------------------
[tt]( <P> <B>)13 * (<P> <.</B>)[/tt]

[URL unfurl="true"]http://www.coryarthus.com/[/url]
 
been a few years since you could last say that, eh? [lol]

I shouldn't talk..... cards haven't won a world series in 24 years......

-kaht

Looking for a puppy?

[small]Silky Terriers are small, relatively odorless dogs that shed no fur and make great indoor pets.[/small]
 
I have sent an email to the company last week, but they have not respond yet.

kaht, I tried what you posted and it work, but the design isn't that goodd.

Se for your self.

Anyone, any ideas?

Off topic, Meny? Yeah I remember that day :-). I am still learning english in school.
 
First of all I would like to thank you kaht for taking your time to help me.

Yes that i exactly what I was looking for. But if you watch close you will se that the height isn't the exactly the same
Code:
<div style="background-color:#7EB5F1; height: xxpx;">
but the height doesn't change.

I would like the menu to flow with what you did with the div


George

 
No problem. One thing you might want to look into is removing the border from the menus. That's why there appears to be a 1px height difference on the top and bottom of the background div.

-kaht

Looking for a puppy?

[small]Silky Terriers are small, relatively odorless dogs that shed no fur and make great indoor pets.[/small]
 
I notviced that it was the border that caused the problem so I didn't remove the border. I gave the border same color as the itemBackColor
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top