Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   Community Cafe (http://www.bvlist.com/forumdisplay.php?f=18)
-   -   js not working (http://www.bvlist.com/showthread.php?t=6611)

it53lv 20th June 2011 14:49

js not working
 
problem is javascript controls menu hover
in this case doesn't
javascript
Code:

///
html part
HTML Code:

                <div id="primary_nav">
                    <ul>
<li><a href="#">Home</a></li>
<li><a href="#">link</a></li>
<li><a href="#">link2</a></li>
                    </ul>
                </div>


wMan 20th June 2011 14:51

what site code
 
what site code?

it53lv 20th June 2011 14:54

*----------------------------ImperialBT mod V 0.1-----------------------------*
*-------------------- For phpMyBitTorrent V 2.0.4 only ---------------------*

i know i need span tags but where ?

wMan 20th June 2011 14:59

Quote:

Originally Posted by it53lv (Post 28536)
*----------------------------ImperialBT mod V 0.1-----------------------------*
*-------------------- For phpMyBitTorrent V 2.0.4 only ---------------------*

just looked at it and seems ok to me as ive used this code alot of times and works for me , mmmm ill look at the html

it53lv 20th June 2011 15:01

Quote:

Originally Posted by xblade (Post 28537)
just looked at it and seems ok to me as ive used this code alot of times and works for me , mmmm ill look at the html

:lol: it's not a part of pmbt basic template

joeroberts 21st June 2011 05:47

first off what is the java code your trying to use?
second where are you putting it?

it53lv 21st June 2011 11:08

just look at my pmbt test site source
jquery's in themes/pmbt/js/
and it can be accsessed from browser

joeroberts 21st June 2011 13:46

you have a error $j is not defined
Code:

        $j("#imperialnav li").prepend("");

it53lv 21st June 2011 14:05

wtf is wrong with pmbt i can make same js work for simple html but it won't work on pmbt ?
it asks to define everything like every parameter is a function :smack:
it's not suppose to be like that
if i define $j it asks to define $j(document) and keeps going for every part of js
there is something wrong with pmbt core that's for shure

not even this work's right
Code:

$(document).ready(function() {   
$('a.top').click(function(){
$('html, body').animate({scrollTop:0}, 'slow');
return false;
});
});


joeroberts 21st June 2011 23:51

I would need to know what the script is supose to do.
Do you have a working sample to compare it to what your doing now?


All times are GMT +2. The time now is 17:20.

Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.