FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Plugins and Code Hacks » JQuery Update (Resolves Jquery conflicts with other libraries.)
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: JQuery Update [message #165062 is a reply to message #165061] Wed, 20 April 2011 18:12 Go to previous messageGo to previous message
Dayo is currently offline  Dayo   Iraq
Messages: 101
Registered: April 2011
Karma:
Senior Member
Thanks for trying. A step closer indeed.

To finish up what you started in tree.tmpl, is it possible to do something like ...
<script type="text/javascript">
/* <![CDATA[ */
tree_cur_msg( {VAR: mid} );
/* ]]> */
</script>


and add this to lib.js ...
function tree_cur_msg(cur_msg)
{
	$jquery('#b' + cur_msg).removeClass().addClass('RowStyleC');
}


... which would eradicate the issue for that file if possible

I have written the regex to resolve the conflict before the forum html is rendered so this is not a show stopper.

I just raised the issue since if the conflict was not there, I'll have been able to drop a few lines of regex code and optimise load speed.

[Updated on: Wed, 20 April 2011 18:15]

Report message to a moderator

[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Function to send emails?
Next Topic: Install.php suggestion
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Nov 28 02:12:44 GMT 2024

Total time taken to generate the page: 0.03842 seconds