-
Content Box Background Image
Hi i have done it What i did was split the Top / Middle / Bottom image and added them to own div so top and bottom stay same and just the middle content expands so works . I just adding rest of content once i have for that part i will let you know so you can look and tell me if views ok your end Aaron EDIT: Check it mate all content on that page is done and it auto has expanded
- Content Box Background Image
-
Click link to activate a tab
Hi Wondered if someone could help me i have a link underneath Availability called "More Info" the link looks like: <span><a href="tab-attribute">More Info</a></span> and the jquery code looks like this: <script type="text/javascript"><!-- $(function() { var $tabs = $('#tabs').tabs(); // first tab selected $('#tab-attribute').click(function() { // bind click event to link $tabs.tabs('select, 1); // switch to second tab return false; }); }); //--></script> But it doesnt seem to make the tab activate once clicked the link just redirects to homepage. If you go here: http://www.washingmachinespares.org.uk/index.php?route=product/product&product_id=4933 you will see what i mean. I hope someone can help me as bene trying to do this for ages. Kind Regards, Aaron
-
mega menu hover help
Thanks for reply mate, I fixed the click event I am now going to see if can do the close button and see what looks like Kind regards, Aaron Sent from ipod touch
-
mega menu hover help
Hi wondered if someone could help me, i have a Mega Menu i am building and on the menu i want to have it so when hover over the menu it stays open until you click outside of that div but everytime i move over it, it closes. The website url is: http://www.bluegeeks.co.uk/restaurant/index.html the one i want it on is the item name: "Menu" And the Jquery Code i have done for thi at the moment is: <script type="text/javascript"> $(document).ready(function() { $(".drop").hover(function() { $(".dropdown_3columns").show(); }); $(".drop").click(function() { $(".dropdown_3columns").hide(); }); }); </script> Kind Regards, Aaron
-
Option Value OnClick Help
Hi wondered if someone could help me i am having the same kind of issue: if you go here: http://bluegeeks-testserver.co.cc/jaclyn-beta/index.php?route=product/product&path=1&product_id=1 and your see the Select Drop Down called: Fonts, well if you choose say Airstrip or Arial the image should change but the problem i am having is. It works in IE9 and FF but doesn't seem to work in IE7, IE8 or Google Chrome i hope someone can help here is the code: <?php if($option['mode'] == "select"){ ?> <select name="option[<?php echo $option['option_id']; ?>][]"id="option[<?php echo $option['option_id']; ?>]"<?php echo $option['option_value'][0]['extra']['reqd'] == '1' ? ' validate="required:true"' : ''; ?><?php echo isset($option['option_value'][0]['extra']['allowmultiple']) && $option['option_value'][0]['extra']['allowmultiple'] == '1' ? ' multiple="multiple"' : ''; ?><?php echo isset($option['option_value'][0]['extra']['list_height']) ? ' size="'.$option['option_value'][0]['extra']['list_height'].'"' : ''; ?>> <?php foreach ($option['option_value'] as $option_value) { ?> <option value="<?php echo $option_value['option_value_id']; ?>" <?php echo (isset($option_value['option_image']) && !empty($option_value['option_image']) ? 'onClick="getPreview(\''.$option_value['option_image_thumb'] .'\', \''.$option_value['option_image_popup'] .'\');"' : ''); ?>><?php echo $option_value['name']; ?> <?php if ($option_value['price']) { ?> <?php echo $option_value['prefix']; ?><?php echo $option_value['price']; ?> <?php } ?> </option> <?php } ?> </select></td> <?php } //end if select ?> I know people looking at this will think "Oh My God" alot of php code but the only part you need to concentrate on is the part ahve put in RED here: onClick="getPreview: Jquery Code: <script language="javascript" type="text/javascript"><!-- function getPreview(image,popup){ $('#image').attr('src', image); //return a preview file $('a.thickbox').attr('href', popup); //return a preview file } //--></script> Hope someone can help me with this as its really bugging me Thanks Aaron
-
Select Drop down help
Hey sorry for the bump but been waiting ages for a reply i am going to make it easier as i think that post was 2 long so here goes Basically what happens with the code i posted above is when you select the drop down and if i have inserted an image for that option is displays but doesnt work for IE7, IE8, Google Chrome and the part which is stopping that from working is this: onClick="getPreview" and the full code of it is here: <option value="<?php echo $option_value['option_value_id']; ?>" <?php echo (isset($option_value['option_image']) && !empty($option_value['option_image']) ? 'onClick="getPreview(\''.$option_value['option_image_thumb'] .'\', \''.$option_value['option_image_popup'] .'\');"' : ''); ?>><?php echo $option_value['name']; ?> So i searched around and i can see that onclick doesnt work for select drop downs for IE and couldnt figure out how to change it the jquery which it is connected to is this: <script language="javascript" type="text/javascript"><!-- function getPreview(image,popup){ $('#image').attr('src', image); //return a preview file $('a.thickbox').attr('href', popup); //return a preview file } //--></script> Regards, Aaron
-
Select Drop down help
Hi i wondered if someone could help me. In IE8 / IE7 and Chrome i have added an option for Fonts and i have created images for the fonts and when you choose the font it is meant to change to that image it worksi n FF and IE9 but when viewed in Ie8, Ie7 and Chome and probably opera and safari the images do not show for any of the personalizations? and have no clue why. If someone could enlighten me on this it would be good the url is: http://bluegeeks-testserver.co.cc/jaclyn-beta/index.php?route=product/product&path=1&product_id=1 i have only created an image for the AirStrip font, Also i have been reading and it says onclick event handlers dont work in IE or google Chrome so this is the code which is effecting me: <?php if($option['mode'] == "select"){ ?> <select name="option[<?php echo $option['option_id']; ?>][]"id="option[<?php echo $option['option_id']; ?>]"<?php echo $option['option_value'][0]['extra']['reqd'] == '1' ? ' validate="required:true"' : ''; ?><?php echo isset($option['option_value'][0]['extra']['allowmultiple']) && $option['option_value'][0]['extra']['allowmultiple'] == '1' ? ' multiple="multiple"' : ''; ?><?php echo isset($option['option_value'][0]['extra']['list_height']) ? ' size="'.$option['option_value'][0]['extra']['list_height'].'"' : ''; ?>> <?php foreach ($option['option_value'] as $option_value) { ?> <option value="<?php echo $option_value['option_value_id']; ?>" <?php echo (isset($option_value['option_image']) && !empty($option_value['option_image']) ? 'onchange="getPreview(\''.$option_value['option_image_thumb'] .'\', \''.$option_value['option_image_popup'] .'\');"' : ''); ?><?php echo $option_value['name']; ?> <?php if ($option_value['price']) { ?> <?php echo $option_value['prefix']; ?><?php echo $option_value['price']; ?> <?php } ?> </option> <?php } ?> </select></td> <?php } //end if select ?> Javascript is this: <script type="text/javascript"><!-- function getPreview(image,popup){ $('#image').attr('src', image); //return a preview file $('a.thickbox').attr('href', popup); //return a preview file } //--></script> I just cant find an answer and this is my last resort hope someone can help me as it works in IE9 and FF
-
Jquery Simple Slider not showing Google Chrome
Hi Everyone for anyone who is using the jquery simple slider from: http://jstnjns.com/jquery/simpleslider/ NOTE: this is only required if you use the slider-4 example which is on his site, but i am sure it would be ok to use for the others 2 but i have tested it. If you get like i had in Google Chrome where the Slider wouldnt get displayed well if you edit the file: jquery.simpleslider.js and find these lines: frameWidth = 0; frameHeight = 0; boundaryWidth = 0; boundaryHeight = 0; and then for example if your slider is say width: 746 height: 206 then you would change the above lines so look like this: frameWidth = 746; frameHeight = 206; boundaryWidth = 746; boundaryHeight = 206; and then save and now you have the working slider in Google Chrome. Regards, Aaron
-
-
Jquery Simple Slider not showing Google Chrome
I think i no what it is , its the JS file it is added these by default, so i will do these when get back in lol which is in an hour or so, then will post it and also the FIX what i did
-
Jquery Simple Slider not showing Google Chrome
the CSS has Widths, could it be that the div sldie-4 doesnt have a width? only the actualy slider-wrapper? but surely that wouldnt effect it as when i change those in FF it doesnt do anything to change lol
-
Jquery Simple Slider not showing Google Chrome
I fixed one of the errors that had pick in it lol by remove the javascript which i was going to insert but never did so removed that now in Chrome i get this: Failed to load resource: the server responded with a status of 404 (Not Found) ? in the inspect element
-
Jquery Simple Slider not showing Google Chrome
Validation Fixed Now what errors do i get with like Google Chrome as never really used it so how do i check these errors and how would i go about fixing them once found them?
-
Jquery Simple Slider not showing Google Chrome
sorry its not my day lol: http://bluegeeks.myshopify.com
-
Jquery Simple Slider not showing Google Chrome
ow yes sorry: Website