Reply Thread Tools Search this Thread
Old 26-04-2012, 00:17   #21 (permalink)
Shiro
社長
 
Shiro's Avatar
 
Join Date: Aug 2007
Location: Yokohama, Japan
Posts: 14,462
From now on, when people want jQuery help, we can say PM Shaun.
__________________
This space for rent.

Jaypan | Ramenities
  Reply With Quote
Old 26-04-2012, 00:24   #22 (permalink)
Rails
Registered User
 
Join Date: Apr 2012
Posts: 26
hahaha.
Im starting to feel like a retard over here. anyone wanna point me to somewhere where i can learn OOP/jQuery Fundamentals? please and ty.
  Reply With Quote
Old 26-04-2012, 01:04   #23 (permalink)
Rails
Registered User
 
Join Date: Apr 2012
Posts: 26
OK so im retarded, im sure we have all figured thnat out by now, so im going to make it as easy as possible for myself and whoever is trying to help me and post a live version and ask this one simple question and hope for the best when i come into the office tomorrow;

here is the live site: jacobeaster.com/diagram/index.html

Can anyone fix the jquery script so that it works as intended with my current html? I would be soooo greatful. I just want "textbox to be the div that is shown when as default and i want text1 to show when the number anchor is hovered; without turning them into div tags so that i can avoid a ugly IE bug.

thanks alot for all the help up to this point. Shaun is my current hero of designerstalk lol
  Reply With Quote
Old 26-04-2012, 04:43   #24 (permalink)
Shaun
Seņor Member
 
Shaun's Avatar
 
Join Date: Feb 2006
Location: Brooklyn
Posts: 6,400
Quote:
Originally Posted by Shiro
From now on, when people want jQuery help, we can say PM Shaun.

Haha this is what I get for leaving General Discussion
__________________
  Reply With Quote
Old 26-04-2012, 17:14   #25 (permalink)
Rails
Registered User
 
Join Date: Apr 2012
Posts: 26
anyone wanna take a crack at this? I know its easy if you know what you are looking at lol. All i need is the single line that does:

Quote:
here is the live site: jacobeaster.com/diagram/index.html

Can anyone fix the jquery script so that it works as intended with my current html? I would be soooo greatful. I just want "textbox to be the div that is shown when as default and i want text1 to show when the number anchor is hovered; without turning them into div tags so that i can avoid a ugly IE bug.


very much appreciated. sorry to have scared you off shaun lol
  Reply With Quote
Old 26-04-2012, 17:24   #26 (permalink)
Shaun
Seņor Member
 
Shaun's Avatar
 
Join Date: Feb 2006
Location: Brooklyn
Posts: 6,400
Is this not what you just posted?
__________________
  Reply With Quote
Old 26-04-2012, 17:26   #27 (permalink)
Derek Smalls
Eat shit!
 
Derek Smalls's Avatar
 
Join Date: Feb 2010
Posts: 2,253
Code:
$(document).ready(function(){ $('.number').hover(function(){ $('#textbox').hide(); $('#text1').show(); }); });

and if you give your .number 'a' tag some anchor text, you will see it is in the top left corner
__________________
I like to play
  Reply With Quote
Old 26-04-2012, 17:29   #28 (permalink)
Derek Smalls
Eat shit!
 
Derek Smalls's Avatar
 
Join Date: Feb 2010
Posts: 2,253
Ah! That's just because you have used # instead of . in your css (.number NOT #number)
__________________
I like to play
  Reply With Quote
Old 26-04-2012, 17:48   #29 (permalink)
Rails
Registered User
 
Join Date: Apr 2012
Posts: 26
Quote:
Originally Posted by Shaun
Is this not what you just posted?
most likely. i just can't get this working for the life of me and i have no idea where to begin looking for the problem, im a little rushed and have just lost my drive on this project. I was all like la dee da dee da this will be easy and it turned into a huge headache. lol
  Reply With Quote
Old 26-04-2012, 17:48   #30 (permalink)
Rails
Registered User
 
Join Date: Apr 2012
Posts: 26
Quote:
Originally Posted by Derek Smalls
Code:
$(document).ready(function(){ $('.number').hover(function(){ $('#textbox').hide(); $('#text1').show(); }); });

and if you give your .number 'a' tag some anchor text, you will see it is in the top left corner


i love you.
  Reply With Quote
Old 26-04-2012, 17:53   #31 (permalink)
Rails
Registered User
 
Join Date: Apr 2012
Posts: 26
can i chain "$('.number').hover" by doing

$('.number', '.menus', '.somethingelse', '.menus').hover

or does it not work this way?

edit: sorry for the double posts, im at work and impatient today haha. No bunz please.

double edit: figured it out. thanks for all the patience lol :] i appreciate it.

Last edited by Rails : 26-04-2012 at 18:23.
  Reply With Quote
Old 26-04-2012, 18:24   #32 (permalink)
Derek Smalls
Eat shit!
 
Derek Smalls's Avatar
 
Join Date: Feb 2010
Posts: 2,253
yes but just a single set of quotes around them all:

$('.one, .two, .three').boobs()
__________________
I like to play
  Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Contact Us - Web Design Forums - Archive
vBulletin © 2000-2009 Jelsoft Enterprises Limited.
Search Engine Optimization by vBSEO 3.0.0 RC8