Forums

[resolved] Issues with /wp-includes/js/jquery/jquery.js (9 posts)

  1. Nasir Zia
    Member
    Posted 7 months ago #

    Hi,
    I am almost done with my site, and now doing cross browser....
    And i came to know that the whole alignment of my site was out when browsing through internet Explorer...
    It took a lot of time to figure out the issue...
    and i realize, when ever i remove

    <script type='text/javascript' src='http://mysitename.com/wp-includes/js/jquery/jquery.js?ver=1.4.2'></script>

    The alignment is fine, but slider and timthumbs are loading for ever...
    And when i insert this line, my sliders are back to normal but the alignment is all messed up (only in Internet Explorer)...

    Any Solution ???

  2. keesiemeijer
    moderator
    Posted 7 months ago #

    A safe way of adding javascripts to a WordPress generated page is by using wp_enqueue_script
    Load_a_script_from_your_theme_which_depends_upon_a_WordPress_Script

  3. Nasir Zia
    Member
    Posted 7 months ago #

    Is that the reason why internet Explorer is causing the problems ???
    I m not too sure about it.
    thanks,

  4. keesiemeijer
    moderator
    Posted 7 months ago #

    I m not too sure about it.

    It could be part of the problem because you add it directly to your head section.

    Unless you provide a link to a page demonstrating the problem, no one will be able to offer much in the way of assistance.

  5. Nasir Zia
    Member
    Posted 7 months ago #

    initially it was through wp_head(); which auto includes all these files, but the problem was there...
    and when i remove that function and included every file manually, then i realize that the mentioned file was causing the problem....
    Thanks.

  6. orpatech
    Member
    Posted 7 months ago #

    try adding the script on your footer

  7. Nasir Zia
    Member
    Posted 7 months ago #

    That doesn't solved !

  8. keesiemeijer
    moderator
    Posted 7 months ago #

    How do you add the javascript now?

  9. Nasir Zia
    Member
    Posted 7 months ago #

    It comes with wp_head(); , and things are very well on other browsers... its just the same Internet Explorer which has been the problem since past many years.....

    the alignment is all messed up, unless i remove wp-includes/js/jquery/jquery.js thing, but that is necessary for the sliders and timthumbs to work....

Reply

You must log in to post.

About this Topic