|
Tip will not work with IE
|
|
22nd March, 12:07
(This post was last modified: 22nd March 21:44 by uuangke.)
Post: #1
|
|||
|
|||
|
Tip will not work with IE
I built a couple tips with a few modified values to dynamically get content and such and everything is working in Firefox. However in IE things are really broken.
Relevant codes: JS Code
JS Code
As you can see, I am getting the content from the href tag and placing it after url:. I also prevent the click from happening so I don't end up at press1.html when I click the link. None of these work in IE. I end up clicking the link like it's a normal link, and if I add onclick="return false;" to the link the tip still won't show up. So, what can I do to make this stuff work in IE? btw: I am no javascript coder. This has all been trial and error so there is probably many bugs in my code. I would really appreciate any help I could get. I am lost right now! |
|||
|
22nd March, 20:52
Post: #2
|
|||
|
|||
|
Tip will not work with IE
I have solved this problem at least partly. It seems that in IE I have to refer to the a element of the tip in question if it exists.
I was using: $('li.press').qtip({ which IE did not accept, but it did accept: $('li.press a').qtip({ which also meant that I could not use: $(this).find('a').attr('href') but had to do: $(this).attr('href') is there a bug that makes us unable to build a tip to another element than an 'a', if the 'a' element is inside the element in question Craig? Might be something to look into! |
|||
|
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)

Search
Member List
Calendar
Help



