Bravo List
Register
Go Back   > Bravo List > P2P > Forum > Community Cafe
Reply
Thread Tools
  #1  
Old 20th June 2011, 14:49
it53lv's Avatar
it53lv it53lv is offline
Senior Member
 
Join Date: Feb 2011
Latvia
Posts: 134
Default 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>

Last edited by it53lv; 20th June 2011 at 21:27.
Reply With Quote
  #2  
Old 20th June 2011, 14:51
wMan wMan is offline
Banned
 
Join Date: Feb 2008
P2P
Posts: 1,433
Smile what site code
what site code?
Reply With Quote
  #3  
Old 20th June 2011, 14:54
it53lv's Avatar
it53lv it53lv is offline
Senior Member
 
Join Date: Feb 2011
Latvia
Posts: 134
Default
*----------------------------ImperialBT mod V 0.1-----------------------------*
*-------------------- For phpMyBitTorrent V 2.0.4 only ---------------------*

i know i need span tags but where ?
Reply With Quote
  #4  
Old 20th June 2011, 14:59
wMan wMan is offline
Banned
 
Join Date: Feb 2008
P2P
Posts: 1,433
Smile
Quote:
Originally Posted by it53lv View Post
*----------------------------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
Reply With Quote
  #5  
Old 20th June 2011, 15:01
it53lv's Avatar
it53lv it53lv is offline
Senior Member
 
Join Date: Feb 2011
Latvia
Posts: 134
Default
Quote:
Originally Posted by xblade View Post
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
it's not a part of pmbt basic template
Reply With Quote
  #6  
Old 21st June 2011, 05:47
joeroberts's Avatar
joeroberts joeroberts is offline
BT.Manager Owner
 
Join Date: Jan 2008
United States
Posts: 2,113
Default
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/
Reply With Quote
  #7  
Old 21st June 2011, 11:08
it53lv's Avatar
it53lv it53lv is offline
Senior Member
 
Join Date: Feb 2011
Latvia
Posts: 134
Default
just look at my pmbt test site source
jquery's in themes/pmbt/js/
and it can be accsessed from browser
Reply With Quote
  #8  
Old 21st June 2011, 13:46
joeroberts's Avatar
joeroberts joeroberts is offline
BT.Manager Owner
 
Join Date: Jan 2008
United States
Posts: 2,113
Default
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/
Reply With Quote
  #9  
Old 21st June 2011, 14:05
it53lv's Avatar
it53lv it53lv is offline
Senior Member
 
Join Date: Feb 2011
Latvia
Posts: 134
Default
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.
Reply With Quote
  #10  
Old 21st June 2011, 23:51
joeroberts's Avatar
joeroberts joeroberts is offline
BT.Manager Owner
 
Join Date: Jan 2008
United States
Posts: 2,113
Default
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/
Reply With Quote
Reply

Tags
js , working


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT +2. The time now is 01:42. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.