|
#1
|
||||
|
||||
js not working
problem is javascript controls menu hover
in this case doesn't javascript Code:
/// 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> Last edited by it53lv; 20th June 2011 at 21:27. |
#2
|
|||
|
|||
what site code
what site code?
|
#3
|
||||
|
||||
*----------------------------ImperialBT mod V 0.1-----------------------------*
*-------------------- For phpMyBitTorrent V 2.0.4 only ---------------------* i know i need span tags but where ? |
#4
|
|||
|
|||
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
|
#5
|
||||
|
||||
it's not a part of pmbt basic template
|
#6
|
||||
|
||||
first off what is the java code your trying to use?
second where are you putting it?
__________________
Do not ask me to help you work on your site that is not phpMyBitTorrent Do not ask me to make a mod for any other source Do not Ask me to setup your site. I will no longer help you setup your site, there is a setup script if you have trouble with it post in the forum here or in BT.Manager™ forum My Current Demo is here http://demo.btmanager.org/ |
#7
|
||||
|
||||
just look at my pmbt test site source
jquery's in themes/pmbt/js/ and it can be accsessed from browser |
#8
|
||||
|
||||
you have a error $j is not defined
Code:
$j("#imperialnav li").prepend("<span></span>");
__________________
Do not ask me to help you work on your site that is not phpMyBitTorrent Do not ask me to make a mod for any other source Do not Ask me to setup your site. I will no longer help you setup your site, there is a setup script if you have trouble with it post in the forum here or in BT.Manager™ forum My Current Demo is here http://demo.btmanager.org/ |
#9
|
||||
|
||||
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 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; }); }); Last edited by it53lv; 21st June 2011 at 15:17. |
#10
|
||||
|
||||
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?
__________________
Do not ask me to help you work on your site that is not phpMyBitTorrent Do not ask me to make a mod for any other source Do not Ask me to setup your site. I will no longer help you setup your site, there is a setup script if you have trouble with it post in the forum here or in BT.Manager™ forum My Current Demo is here http://demo.btmanager.org/ |
Tags |
js , working |
|
|