Failing at integrating jQuery Lavalamp and Image Links :(
Posted: 26 June 2008 03:00 AM   [ Ignore ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  347
Joined  04-23-2008

UPDATE

Special thanks to e-man and all the others that have helped me with this issue. It is fully resolved and working now. smile

 Signature 

Danny, your poor-man’s EE designer for hire/help.

Profile
 
 
Posted: 27 June 2008 03:33 AM   [ Ignore ]   [ # 1 ]  
Grad Student
Avatar
Rank
Total Posts:  50
Joined  06-23-2008

Hmm..tricky one.

If I remember rightly, Lavalamp sticks another <li> in at the end of your menu, which will of course be higher up the document stack. Are you targeting this extra <li> in your stylesheets? I think it’s already absolutely positioned, so stick a z-index on it if you haven’t already.

I’ve got a feeling that z-index won’t be much help here, there’s always problems when Flash is involved.

Are you sure you need SIFR? I’m not a huge fan of SIFR (this guy breaks it down very well - http://virtuelvis.com/archives/2005/04/i-hate-sifr) and unless your menu is going to change regularly I think it’s a case of overkill. If it’s not changing much, just do the old text-indent image replace thing on your links.

EDIT: typeface looks nice though..

Profile
 
 
Posted: 27 June 2008 03:41 AM   [ Ignore ]   [ # 2 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  347
Joined  04-23-2008

Typeface is mighty nice.. I suppose I’ll have to just conclude that this will be a fail. I haven’t made any progresses on it, so I suppose using a text-indent image, is indeed, what will have to do. If you’re wondering, the font is Gotham Bold. smile

Thanks for the details. I just figured since Sifr is supported (or purported) to be by Google, that I would rather use that instead. Guess that’s not happening.. At least for the menu navigation anyway. smile

 Signature 

Danny, your poor-man’s EE designer for hire/help.

Profile
 
 
Posted: 27 June 2008 11:53 AM   [ Ignore ]   [ # 3 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1454
Joined  09-16-2004

A link to the actual page might help since both Sifr and the jQuery Lava plugin inject some html into the DOM.

 Signature 

Peace, e-man.
stookstudio.com, websites built with care and web standards. LinkedIn profile

Profile
 
 
Posted: 28 June 2008 02:12 PM   [ Ignore ]   [ # 4 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  347
Joined  04-23-2008

hey guys.. i just updated the opening post, as i’m using image as links now.. if anyone has the least bit of an idea what’s going on, please let me know.. i can’t get the links to open with a normal click, but right clicking works like a charm.

 Signature 

Danny, your poor-man’s EE designer for hire/help.

Profile
 
 
Posted: 28 June 2008 03:41 PM   [ Ignore ]   [ # 5 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1454
Joined  09-16-2004

I’m not too familiar with the lavalamp stuff but have you tried removing this:

click: function(event, menuItem) {
                    
return false;
                
}


from the javascript call in your head?

 Signature 

Peace, e-man.
stookstudio.com, websites built with care and web standards. LinkedIn profile

Profile
 
 
Posted: 28 June 2008 03:47 PM   [ Ignore ]   [ # 6 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  347
Joined  04-23-2008

e-man,

That did the trick. You have no idea how long I’ve spent trying to figure that out.. I have no idea how I missed that. Than again, I’m completely new at Javascript.. Boy am I glad I updated this thread. Thanks for the quick replies.. Seriously, you guys have shown me tons of resources and stuff I never had seen or known about.

My regards!

 Signature 

Danny, your poor-man’s EE designer for hire/help.

Profile
 
 
   
 
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1149, on July 16, 2007 09:33 AM
Total Registered Members: 64909 Total Logged-in Users: 38
Total Topics: 81855 Total Anonymous Users: 27
Total Replies: 440069 Total Guests: 227
Total Posts: 521924    
Members ( View Memberlist )