MyBB Community Forums

Full Version: jQuery not working?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm not sure why but I don't think my jQuery is working properly. When I click on my "VE+ Network" button at the top of my page, it doesn't drop down my menu.

My Website: http://www.ComingSoon.VisualizeEdits.com/

Header: http://gyazo.com/81e04a9fc8e8501433f2b44bfd0a3828
HeaderInclude: http://gyazo.com/b4151fa79eb8639653d5496bae318a93
CSS: http://gyazo.com/8414dc428dd26855fb35749f5baa4148

Please tell me what I am doing wrong so that I can learn my mistake.

Please let me know if any other info is needed.
(Just wondering, do I have to have anything uploaded into my script folder to make the jQuery work?)
Ehm,

You have <script type="text/javascript"> right under {$stylesheets} but I don't see anything to close it at the end such as </script> in your headerinclude template.

Can you post the entire headerinclude template here?
(2013-07-20, 11:31 PM)Arbaz Wrote: [ -> ]Ehm,

You have <script type="text/javascript"> right under {$stylesheets} but I don't see anything to close it at the end such as </script> in your headerinclude template.

Can you post the entire headerinclude template here?

<link rel="alternate" type="application/rss+xml" title="{$lang->latest_threads} (RSS 2.0)" href="{$mybb->settings['bburl']}/syndication.php" />
<link rel="alternate" type="application/atom+xml" title="{$lang->latest_threads} (Atom 1.0)" href="{$mybb->settings['bburl']}/syndication.php?type=atom1.0" />
<meta http-equiv="Content-Type" content="text/html; charset={$charset}" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/prototype.js?ver=1603"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/general.js?ver=1603"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/popup_menu.js?ver=1600"></script>


<script type="text/javascript">
if (typeof jQuery == 'undefined') {
    document.write(unescape("%3Cscript src='http://code.jquery.com/jquery-1.7.2.min.js' type='text/javascript'%3E%3C/script%3E"));
}
</script>


{$stylesheets}
<script type="text/javascript">


<script type="text/javascript">
jQuery.noConflict();
jQuery(document).ready(function(){
jQuery(".network").click(function() { jQuery('.network-slide').slideToggle('fast'); }); });
</script>


<!--
	var cookieDomain = "{$mybb->settings['cookiedomain']}";
	var cookiePath = "{$mybb->settings['cookiepath']}";
	var cookiePrefix = "{$mybb->settings['cookieprefix']}";
	var deleteevent_confirm = "{$lang->deleteevent_confirm}";
	var removeattach_confirm = "{$lang->removeattach_confirm}";
	var loading_text = '{$lang->ajax_loading}';
	var saving_changes = '{$lang->saving_changes}';
	var use_xmlhttprequest = "{$mybb->settings['use_xmlhttprequest']}";
	var my_post_key = "{$mybb->post_code}";
	var imagepath = "{$theme['imgdir']}";
// -->
</script>
{$newpmmsg}
Working for me? Is this still an issue?
(2013-07-21, 10:06 AM)Tindris Wrote: [ -> ]Working for me? Is this still an issue?

No, I moved everything before that spreadsheet thing in my headerinclude and it work.
hello.

I saw your website and it works fine in my browser. you do the test using what browser?
(2013-07-22, 06:02 AM)ikhwanulfikri Wrote: [ -> ]hello.

I saw your website and it works fine in my browser. you do the test using what browser?

The problem has been fixed. Read the previous reply by Visualize