I am using some Jquery code + CSS to display fade in and out text above each image. However, i can't figure out what I am doing wrong and the text is not being displayed when the user hovers the mouse over each image..
I used this script and it is working fine. I changed those two images and put my own. Image1 is of 600 width and 340 height and Image2 is of 560 width and 794 height.
The code is working fine but the tool tip window resizes automatically and shows up the image. How can I have a fixed height and width? Which line should I change so that the height and width of the tooltip window is constant?
I tried changing var tipWidth = 160; but no effect tried playing with var startStr = '<table width="' + tipWidth + '"><tr> but again no effect.
I want the tooltip window to be constant and the picture size should be resized to fit in that tooltip window and aspect ratio for height and width should be resized automatically.
Using a UI dialog I'd like to load in 10 or so images. Each would be unique and after you click on one the following needs to happen:
1. Image appears on the parent page in a specified ID.
2. A "hidden" field is updated so that when the user submits the db is updated with their selection.
3. Dialog closes automatically.
That's it. Basically it would work similar to "datepicker".I'm using the latest 1.4 and ui and been making great progress as learning basics. I need to do the above and it seems like such a no brainier and or it should already exist but after 2 days of searching and trial and error...
I am php developer,[URL]... a fade in fade out effect (image + text) which is working very nice but Can i do this like with text on top(not on an image)and image below it like header : text below that an image
example <table> <tr><td> header for image</td></tr> <tr><td> image here</td></tr> </table>
Can you pls suggest any other script to display an html page or pages like this just the way i had defined above in fade in fade out ....
I've been looking all over the place in order to find a script like they use on Foliostars, where you see a sliding semi-transparant text layer over a thumbnail image when you hover. how to achieve this using JS or an Ajax framework (preferably JQuery)?
var descIg = ""; descIg += rssent[i].descImg; var placeImg = document.createElement('img'); placeImg.src = descIg;
I want to create something similar to what they achieve with this script:[URL] I know I could just download their script, but it's for a website that will be commercial in nature, and my cousin doesn't want to pay 29 pounds (which is a lot in AUD!) for it. I can use a rollover to display a larger image next to it, but I'm not sure on how to make the image move like that one does.
I've been having some problems getting cluetip to show an image. essentially i just want it to work like this: title="This is a description | <img src="image">" and then I need the whole thing to be linked as well.
Firstly I've used jquery for about an hour now so that's how little I know, that's why this should be simple as :)Ok So I've been reading the docs on ids and ".attr"'s and have achieve half of what I need to do. I've used this:
to get the title of an image and then display it. This works fine except it gets rid of the image. I want to be able to use display the image and use the title as a caption. After I'veachievedthis I'd also like to be able to put that title in a div so I can use css to muddle with it.
Does someone have an working example of the following: Select records from a database, display the first 10, and after 30 seconds, display the next 10 without refreshing the page.Then, when no more records, start over.
I have 10 image libraries and I want to see 2 pic at a time from each image library. I want to make a scroll option where I can see 1image from each library. Any advise on scrolling panel using jquery.
I have a MySQL database with a table where I store images (the file name, the mimetype of every file and the binary data in a BLOB plus a unique ID). Now what I'd like to achieve is to load an image from the database using AJAX and the POST method. Viewing a specific image using the GET method is quite simple, I just set the SRC attribute of an <img /> HTML tag to link to the PHP file and set the correct GET variables, there's no AJAX needed for that.I click a button or something, and 'behind the scenes' PHP is retrieving an image from the MySQL database, depending on the unique ID that was provided by AJAX through the POST method. AJAX uses the returned data to fill an element somewhere in the document, and that would be the freshly-loaded image.
Alright here's some code:
//PHP retrieving an image: $returnImageQuery = "SELECT imageName, mimetype, imageBinaryData FROM imageTable WHERE ID = $_POST['someID']"; $return = mysql_query($returnImageQuery );
I would like to display file extension along with the file links on a web page. For example, I would like to append (pdf) next to any pdf links. The following code works to some extent but not as I intended. $("a[href$='.pdf']").append(" (" + 'pdf' + ") "); If I use the above code, (pdf) is also underlined being part of the link. I want (pdf) next to the link and not as part of the link.
I have this structure (frommarkItUpplugin): It's image button with CSS a:hover element. I want to putjQueryso when user mouse-over that button, another panel shows underneath (with 9 more buttons) to click on. Something like this: How to select that thing with jQuery? For showing/hiding the panel I would use this code jQuery('body').append("<div id='panel' style='display: none;'>9 buttons inside this div</div>");