here's the page... [URL] it uses a tabbed menu using the tutorial at [URL] the tutorial uses text in the <li>'s, but I need to use images problem is, clicking on the image does not trigger anything but clicking on the "cc" "t" and "f" text does
I want to replace the text headings with images. I have tried adding an 'img scr' tag but then the menu won't expand. I got the code from here The JavaScript Source: Navigation : Expanding Menu [URL]
I'm trying to create a simple <select> menu in which the options are not text, but images. How can I go about doing this? I tried <option value="x"><img src="xx" /></option> with no success...If no solution exists with HTML, is there a solution with JavaScript or any other language?
For some reason the dropdown list in my menu becomes hidden underneath the jquery fading images. If i dont fade the image it displays fine. You can check out the issue here[URL].. When you rollover Javascript, the 2 items beneath it become blocked by the images which are fading in the right panel.
I am new to javascript, and am having an issue, which I'm sure is elementary.. I found a script for expandable content, it suffices fine. As it stands, the script toggles images onclick. For example, whence the menu is collapsed, it displays "plus.gif" next to it, and when the menu is expanded, it displays "minus.gif" next to it.
Basically, what I would like to know is, thus: how would I change it to display text icons next to it? For example, in place of "plus.gif" I should like it to display "+" as actual text. I've dredged a number of places, however, I've found nothing. Furthermore, I cannot figure out how to do it.
I have work thumbnails on one side (meals), ingredients on the other side, what I would like to do is:
1) If I hover over a meal, the ingredients used for that dish are highlighted on the left 2) If I hover over an ingredient, the dishes that used this ingredient are selected
I am just starting out in jQuery, can anyone give me some pointers.
Is jquery the right language to do this in? If it is, can someone point me to a relevant tutorial or example to get me started? Iwantthe text of my site to flow around a fixed background image while scrolling. Doesn't sound too hard but I can't find anything that will do that. I'm starting to think it may need tobe a flash solution. I'ts easy to float the text and some sandbag divs to make the text wrap around the image, but there is no CSS solution to make that text flow around those sandbags while scrolling. Here's a cap with the sandbags outlined to give you a visual of what I'm trying to do:
I have created a Javascript menu for my site which uses frames. The first stage loads fine but I want two drill down menus ("About Me Menu" and "Projects Menu"). The pages load fine, but the images aren't displayed, instead the alt text is shown. The images come up after you "Mouse Over" them but not before......can anybody spot any errors in my code which could be doing this please. For info, I have 4 images for each button, to take into acount whether the button had been used and to give a mouse-over image for each state. I have also deleted the code for items 3-5 as they are commercially sensitive. Code:
My client wants a series of 4 background images that cycle (probably fade), and each time a new image appears, they need text to slide in from either the right or left, depending on the image.I've done the fading background image part quite often, but have never tied another action to the new image loading.
<picture 1, fades in><text for picture 1, slides in from right> <picture 2, fades in><text for picture 2, slides in from left> <picture 3, fades in><text for picture 3, slides in from right> <picture 4, fades in><text for picture 4, slides in from left>
I've seen a lot of tutorials for the two things separately, but not for the two combined. And I'm the first to say I'm a newbie to jQuery and relative newbie to Javascript. So I'm not sure how to go about even knowing if this is do-able.
I am using the cycle plugin to vertically scroll images with text overlays on a WordPress homepage. I position a div with a semi-transparentbackgroundto darken behind the text The div style uses abackground-image with the -moz-linear-gradient and for IE it uses filter with the microsoft gradient. I thought it might be a problem but it actually works half the time. When a new slide appears and scrolls down the text background is completely transparent - through to the page background. The text over the background is also faintly visible. Once the new slide is in position however, the background and textappear as intended. The suprising point -while theslide is being removed the text and background display perfectly.
I am trying to create a menu that would look and act like this image illustrates: [URL] Essentially the three boxes slide down when rolled over and menu items appear in the portion that has slid down.So far, I have figured out how to make an image slide using jQuery: [URL]
I am looking for some recommendations for JS/HTML code that will allow me to generate drop down menus, sort of like the ones here Code:
where you can see the drop down menus if you roll over "Flights", "Hotels" and so on. The only thing I want to do differently with this is that I want to put a repeating background image behind the entire menu that drops down, and not necessarily just each item. So, in the above example, if you rolled over Flights, I'd like a background graphic to span all the menu items -- "Search Flights", "Top Deals", "Web Fares", "Low Fare Alert", and "Last Minute Packages."
I need to have a series of images cycle in the background, and for each image, text should appear on the right or left side and slide into position. I thought this would be simple but can't really find any information about how to connect these two events. I've done plenty of background image cycling, but never tied a particular image to a particular animated effect. One, can this be done...if so, how challenging is this? And Two, would anyone know of a location of similar stuff. I've seen a bunch of sites that use Flash for this, but it seems like jQuery would be quicker and more robust.
I'm only new to Jquery and Ajax for that matter, understand JavaScript but don't work with it everyday. I have a function from Jcarousel that is populating a div with images (talking to a .txt file which contains the url), JavaScript then writes out the image. function getItemHTML(data){ var split = data.split(";"); var url = jQuery.trim(split[0]); var title = jQuery.trim(split[1]); var url_m = url.replace(/_s.jpg/g, '_m.jpg'); return '<a href="' + url_m + '" title="' + title + '" class="thickbox"><img src="' + url + '" width="' + 75 + ' " height="' + 75 + '" alt="' + title + '" /></a>'; };
And this is the function talking to the datasource function loadItemHandler(carousel, start, last, available){ if (available) { // Trigger loaded carousel.loaded(); return; }var cr = carousel; jQuery.get("example_dynamic_ajax.txt", function(data) { appendItemCallback(cr, start, last, data); });}; Now what I would like to do is instead of populating with images from .txt file I would like to populate with code from another .html page (a html page containing a table code). I'm just not entirely sure what object I need to use and how to go about that. Full code that I am working with is here: [URL].
I am new to JavaScript and have been plugging away at it trying build a menu for site I am developing. My colleague has suggested I use Flash, which I could, but I think it is unnecessary and JavaScript is ideal for this use.
I have been building a menu that has a sub menu that appears below all of the main menu items. I have got this working and will include the code I used to do this below.
Now I want to change the button image so that it is visible which sub-menu the items that appear below belong to. Code:
which was very helpful and with some playing around I can now get my existing menu to complete part of my task. But I have 4 menu items and therefore need to use a "var" command to allow me to define different button images for different menus. Code:
I would like to create a page that has a dropdown menu populated with a list of images. When someone selects an image, the image and a URL to a webpage will display (screenshot below). Each image will have a different URL. How do I accomplish this?
So I have some custom images as the background to my menu images, however I also have the text showing too, as can be seen here: [URL] How do I delete the text, so that just the image is showing. I have tried looking in all the php files, html files etc etc, even using windows grep to search for the files. However I cannot find them at all!
I have a Superfish Menu hover and text overflow issues due to special characters from foreign languages. In English or a language without special characters the menu and hover expand properly but with special characters you get text overflow and a hover with a negative right margin.
Im using this javascript plugin on my website and i try to figure it out how to make the shop link work - when i click on shop i want to load another page directly. I'm a new in webdesign (actually this is my first website) and i think that i should change the script.. so take a look at my page source.
Im trying to make a sticky footer and it works fine in all fo the browsers except ie, it wont add the needed height, when using height() it works but if i use innerHeight() it wont work, heres the code