![]() a form for searching in the website using php and a mysql database. a small menu with links,every link points to another page 2.space for the content/text of the html page 3. My website consists of basic html pages/templates which have links to the left and point to another templates/pages.įor example, i have 4 templates in my siteĮach template consists of 1. I have built a website using a)MySQL b)HTML c)PHP and d)Javascript. Hello, i would like to advise me on sthg. jpg destination page (no lightboxness etc).) ![]() Though my code is exactly like the css-tricks page, just that I have a lightbox on one page (which loads fine if there's no hash in the address - but when hash is there, it shows thumbnails, and when you click one, it just takes you to the larger. Maybe if it helps I can upload a zip of the site. Not sure how best it is to show you the page as it's not live yet. I'm not very clued up about jquery at the moment unfortunately and though I've been trying to read and learn, alot is going over my head. lightbox gallery or even a simple jav split and put back together email address hider.Īny help greatly appreciated. However if I've got any script I would like to be loaded. the pages all work without java (static pages) and when java is enabled, instead of going to bio.html you get taken to. However, though the html loads in correctly, none of the script is working. Hi I'm trying to load a part of a page (that has script in it) into another page using jquery. Please Note that I have only put the tags in the index.php and removed them from the back-end pages such as home.php, contactme.php and about.php! for that sake that it works correctly! but with no hope! Thank you in advance for your informative posts! The goal that I am trying to achieve is that I make my whole website for the visitor as "One Page Site"! I am challenging myself with it though! Is it possible to load those pages in the "index.php" and still have their JS functions function correctly and display as if they were accessed individually? Note: the loading has been done with those methods. when I load it, it looks messy that you think the JS is disabled in your machine :-\ "home.php" uses alot of javascript functions and jquery plug-ins. I have done this already! but the problem is: ![]() Once the page load it loads with the content of "home.php" (the landing page) if the "contact" tab is clicked then I would like to load the "ContactMe.php" page content. I would like to have one "index.php" page that contains only a nav bar which handles the mission. which means I need the page to be one front end page.īut the back-end pages would be the ones which do the work and calculations! Once you get those changes made and jQuery running only once please let us know if you are still having problems.Īnd I am trying to implement it with JS completely. ![]() I would also recommend running WordPress' wp_enqueu_scripts() method, detailed here by Jamie: Please be sure that the PHP method wp_head() is that LAST piece of code running before your close head tag in your header.php file as well as wp_footer() being the LAST piece of code running before your close body tag in your footer.php file. It looks like you have it loading with your "Enhanced Search Box" and then again at the end of your head just before your "Cycle.All" script. This will cause most all jQuery plugins/code to break if you load the jquery library more than once. It looks like you have jquery loading 3 times, which is not good. I am having trouble with a plugin not working, so I contacted the creator, and they said the below. ![]()
0 Comments
Leave a Reply. |