if you are doing page to page calls, then as far as I know the easier
way to do it is with a hash or query string (blah.html#tab2 or
blah.html?tabSelected=2) Not sure if jquery has a function to parse
the url for parameters, but there are plenty of references online
(search: javascript get query s
I don't know the ins and outs, and my company is still stuck on ie6,
but when we do ajax calls on a tags, we remove the href attribute.
There are different ways to achieve the same result w/out the href
(this happens often to allow pages to degrade nicely for users with js
turned off, replicate th
Well, to solve the problem of repetition, use bind, so...(this may not
be verbatim)
function doit(event) {
$(event.data.var1).siblings('li.navSel').removeClass('navSel');
$(event.data.var2).slideFadeToggle('normal');
$(this).toggleClass('navSel');
$(event.data.var2).sibling
Unless the transition is very bad, I don't think its your problem.
Even using mootools effects I've found FF's performance with animation
poor. Even surprisingly compared to IE, which tends to run the
animations quite smooth. This may just be due to how FF handles the
timer events, I'm not really
I think css precedence has got you down. As I remember it, ID
selectors override class selectors (since id is more specific than
class). Try using border: 3px solid red !important; or maybe the
change the css selector to div.maindiv-hover { ... } and see if this
fixes your problems. Look up css
As with any js, since it runs client-side, you cannot use it to query
a Db, only to call something else that will, such as making a request
to a PHP script or server-side java. PHP is the simplest way. You can
either have the php return the markup to display or maybe have it
return json object an
Using $load/get/ajax and innerHTML= or $().html for setting the
content of the tab div tag works everywhere except IE6 (haven't tested
IE7 as only ie6 is allowed on our boxes). The content works fine when
inserted into the page with tiles before it is sent to the browser,
but when the content page
Doing tabs with ajax requests. The issue is that the formatting gets
all screwed up in IE6 when its inserted into the DOM. This seems to
happen with $.load, $.get, and even $.ajax and setting with getDocbyId
and innerHTML = tabContent. The content is returned properly, but
after the insert I get u
8 matches
Mail list logo