I have started to learn HTML 5.  One of the cool things is the way when you are using HTML 5 with the jquery mobile library you can have many "pages" on one page through the <div data-role="page" id="home"> etc...  I like how it only shows the page requested.  I have tried to use this on my regular website but the jquery mobile seems to mess with or break when used with other javascript.  Does anyone know how to make jquery mobile not interfere with any other script?
Who is Participating?
RobOwner (Aidellio)Commented:
Have you enforced the noConflict()??
Michel PlungjanIT ExpertCommented:
Or conditionally load the mobile scripts depending on the browser being mobile or not
Ray PaseurCommented:
Agree with Michel.  You can detect the browser in $_SERVER["HTTP_USER_AGENT"].  You can learn more about that by reading this page.

That said, you probably do not want to use the function.   Just write your own.  The "browscap.ini" file may be something you do not want to load very often.
Cloud Class® Course: Microsoft Windows 7 Basic

This introductory course to Windows 7 environment will teach you about working with the Windows operating system. You will learn about basic functions including start menu; the desktop; managing files, folders, and libraries.

Michel PlungjanIT ExpertCommented:
Isn't there a $ in jquery
rgranlundAuthor Commented:
What type of function can offer the same functionality of hiding pages within the a page until that menu choice is chosen?
Michel PlungjanIT ExpertCommented:
$("#divID").show() and .hide()
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.