Recent Topics

1 Aug 26, 2011 00:15    

My b2evolution Version: 4.0.5

I wrote a post and threw in a jquery call and javascript function. Script works!

But it's doing some funky things to the Toolbar, as in pulling down the menus as permanent and static.

Figured there was a neater way to integrate the calls and found this

http://forums.b2evolution.net/viewtopic.php?t=21626&highlight=javascript+post

Which I've tried, good news being I haven't made a bollocks of the header. Bad news ... it didn't work :(

calls are:

<script type='text/javascript' src='http://susanglover.com/jscript/js/jquery.js'></script>
<script type="text/javascript" src="http://susanglover.com/jscript/js/jquery.lightbox-0.5.js"></script>
<link rel="stylesheet" type="text/css" href="http://susanglover.com/jscript/css/jquery.lightbox-0.5.css" media="screen">

from:
http://susanglover.com/theprocess/blog1.php/this-is-a-tutorial-not

insight appreciated, help even more!

2 Aug 26, 2011 00:38

sorted the header (cleaned up the quotes TSK!)

So the script calls are neatly in the header, and the script work in the post, but still having a conflict with the toolbar?

next I'm going to try and move the function into the header but I'm not sure how to do that :(

3 Aug 26, 2011 13:26

figured that it had to be a CSS conflict.

tested on Blog B with a different skin. No issues with the toolbar. So ... it's a CSS conflict

Will cross post in SKINS forum with the faint hope that someone with a pulse will help.

If I get it sorted will post that too.

If anyone actually cares around here.

P.S. Good to see that the SPAM posts that have been on the board for almost three days are finally gone!

4 Aug 27, 2011 00:20

Sorted!

Narrowed it down to a jquery conflict. Weird thing is it only presented in this skin!

Cleaned up the extraneous calls and inserted a no-conflict variable in the _html_header.inc.php just above the </head>

<script type="text/javascript" src="http://susanglover.com/jscript/js/jquery.lightbox-evo-0.5.js"></script>
<script type='text/javascript'> var $jq5 = jQuery.noConflict(); </script>


Form is loading...