-
Gucci.com jQuery
Cheers ill sort it thanks for the advice
-
Gucci.com jQuery
Anyone know the answer to this? I think it's just a case of a slider left to right and then visible class once more details is clicked or something to that effect. If anyone can help please let me know.
-
Gucci.com jQuery
Hi, We have been asked to develop a particular website for the adult industry, and the client likes what happens when you click on the details tab and how the whole slide thing works on Gucci's website - http://www.gucci.com/us/category/f/women_s_ready_to_wear#look3109 So my question is how would i do something similar using jQuery has i believe the gucci site has this in. Can you someone point me to something already made thats similar or point my in the right direction to possibly build my own.
-
Help with Java & PHP
Hi All, I have some code am using php and sql to grab the data, but what i want to know is how do i do the following: When I link is clicked on on the left side of the page how do i get the content using a foreach method in php to display on the right side of the same page by using javascript or something similar? My php code is (which is the display box on the right <div id="content-right"> <h2>Events/Rideouts</h2> <div id="display"> <?php $query = $this->db->query("SELECT * FROM mcd_events "); foreach ($query->result() as $row) { $id = $row->id; ?> <p><?php echo $row->description ?></a></p> <?php } ?> </div> <div class="clear"></div> </div> then on the left in another div i have some links which are like this: <div id="content-left"> <div id="events" class="scroll-pane"> <?php $query = $this->db->query('SELECT * FROM mcd_events'); foreach ($query->result() as $row) { $row->id; ?> <h3>Date:<?php echo date("F j, Y",strtotime($row->created_on)) ?></h3> <p><br /><a href="events/<?php echo $row->id ?>" id="linkid"><?php echo $row->title ?></a></p> <?php } ?> </div> </div> Can anyone help me with this please, thanks for reading and will look froward to your replies....
-
htaccess and mod_rewrite problem
Thanks guys but sorted it by copying my wordpress htaccess so posting it here for future reference if anyone else has the same problem SetEnv DEFAULT_PHP_VERSION 5 Options +FollowSymLinks RewriteEngine on # 301 Redirect all requests that don't contain a dot or trailing slash to # include a trailing slash # except for form POSTS RewriteCond %{REQUEST_URI} !/$ RewriteCond %{REQUEST_URI} !\. RewriteCond %{REQUEST_METHOD} !POST$ RewriteRule ^(.*) %{REQUEST_URI}/ [R=301,L] # Rewrites urls in the form of /parent/child/ # but only rewrites if the requested URL is not a file or directory RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.+)$ index.php?page=$1 [QSA]
-
htaccess and mod_rewrite problem
Thanks chris yes my links are as below: <li><a href="index/page/products/" title="">Home</a></li> <li><a href="index/page/specials/" title="">Specials</a></li> <li><a href="index/page/otherproducts/" title="Other Products">Other Products</a></li> <li><a href="index/page/about/" title="About Us">About Us</a></li> <li><a href="index/page/contact/" title="Contact Us">Contact</a></li> <li><a href="index/page/help/" title="Help">Help</a></li> But when these link they do like and show up in the url has http://localhost/index/page/products/ but they aren't showing the content from the sql database becasue of the switch case i Have in index.php switch($_GET['page']) { case "home": include('home.php'); break; } So do i need to change the case to index/page/home too so that it reconises the URL?
-
htaccess and mod_rewrite problem
Hi Chris, Yes it does re-write ?page=home to page/home, but what do i need to to the links in the nav and the case in index.php?
-
htaccess and mod_rewrite problem
Forgot to mention i also have this index.php page <?php //ini_set('display_errors', true); include_once('func/cart.php'); session_start(); // Databse Connection File require ('inc/db.php'); // Include Header & Meta include ('inc/header.php'); include ('inc/meta.php'); //Specify Base URL // Url and Show page switch($_GET['page']) { case "checkout": <-// Will this need to be changed to reflect the htacess file? include('checkout.php'); break; case "about": include('about.php'); break; case "contact": include('contact.php'); break; case "help": include('help.php'); break; default: include('home.php'); } // Include Footer include ('inc/footer.php'); ?>
-
htaccess and mod_rewrite problem
When this is sorted will I also need to change my links from index.php?page=mypage to the new url like index/page/home ??
-
htaccess and mod_rewrite problem
Hi all, I have a problem, mod_rewrite/.htaccess not working for some reason and not sure why. I have this in my htaccess file RewriteEngine On RewriteRule ^page/([^/]*)\.html$ /?page=$1 [L] my pages are all php and looking like - index.php?page=mypage Any help advice would be very much appreciate been at this 45 mins and still no joy. Thanks Lee
-
URGENT IE7 & Javascript problem
Sorted it some java elsewhere was casuing the issue
-
URGENT IE7 & Javascript problem
Any other idea's i've done some of the validation but the code is all over and aint got the time to sort that, just need to get the jQuery working on IE and all over browsers, currently works on all but IE
-
URGENT IE7 & Javascript problem
like i said not my code just doing this a favour for someone, but yer could well be that. I 'll fix now
-
URGENT IE7 & Javascript problem
Nope still no joy, i was just going to post that i missed out this bit $('#scrollpane').jScrollPane({scrollbarOnLeft:true, showArrows:true, scrollbarWidth: 19, arrowSize: 2}); // set up the links to scroll to (hidden in page) $('a.scroll-to-element-demo').bind( 'click', function() { $this = $(this); var destinationSelector = $(this).attr('rel'); $('.scroll-pane', $this.parent().parent().parent()).each( function() { this.scrollTo(destinationSelector); } ); return false; } ); //Scroll to relevant bike in the jScroll panel $('.clickme-<?php echo $this->uri->segment(2) ?>').trigger('click'); }); //This is the closing tag for the whole function But again IE causing my serious issues....Why cant Microsoft get things right?? So how can this be fixed? PLEASE help me
-
URGENT IE7 & Javascript problem