I have a large image which is centred horizontally and is 300px from the top of the web page. I have some code which will shrink the image, but am struggling to know how to ensure that the image remains centred as it shrinks, and also moves to the top of the page. Can anyone point me in the right direction? The code I have so far is...
I'm using prettyPhoto for a gallery on my page. I'd like to keep it the same size independent of the photo size. So if the image is too big, the image shrinks down to the size of the box (although I don't mind the way it currently works of mostly filling the window). More importantly, I'd like it to not shrink to fit smaller images. It would be best if it would just center a too-small image.
Unfortunately, one of the images that is in the gallery is only 200x150, while most are around 800x600.
Somehow, I just now realized that the default dimensions don't seem to apply to anything (or at least they're not limiting anything as far as I can tell).
Perhaps something from how it works for iframe? The images don't thumbnail properly for the gallery if I put the width/height in the anchor href...
The problem: Popups work fine, as they open the mini thumbnails when you mouseover. However, as you scroll down the page, the images move with you. So, if you mouseover'd the top result (having not scrolled down) the graph would appear when it was supposed to. However, if you scrolled down 200px, and then mouseover'd the top result (or any result), the thumbnail would popup 200px lower than it should.
The guide site I used: [url]- it doesn't happen on their site.
I set up a dummy site of their site: [url]- I just copied the source code for everything and changed literally nothing. It still happens on my version of the site.
So, I have a hover state on a list item that makes the text enlarge and a swapping of background images, etc.
I've already built it all with CSS, but I wanted to make the change animate. Is it possible to just animate the CSS changes with JQuery, by doing it with a class or something, rather than having to write all the changes in JQuery?
Here is what I have, which doesn't animate [code]...
I have an idea for a website I'm about to design and develop and would like some help before voicing this to the client.
The site will be quite sober, technology and science portfolio of a company.So, most of it is just text.
There would be a portfolio menu page, with a few categories (science / technology / web )
Now, instead of having a drop down menu..
I thought it might be a nice idea to have a pie graphIMAGE(well maybe a bit nicer looking)where each color represents the category. Based on the number of projects belonging in that category, the graph would change to show that. is this possible with jquery?
I wants to access my web page which data is continuously growing, I want to buffered some of that data write it in responseText then again get next buffered data write it and so on (in AJAX).Is it possible and how i can do that?
I am trying to create an Image menu for a site I'm working on that is rather simple in essence. When the user hovers over a button I have the menu will move left or right depending. I have not got a great deal into it yet as I have become stuck, as I'm new I figured it would be easier to troubleshoot if I build up the program bit by bit.
how to change images based on action. Even clicking changed images should do respective actions. and while displaying only one image at a time sholud get displayed. I am using three images for a single column of a table in Jsp. Code:
What I'm looking to do is have a folder of images that I have show up on my website.I'm also looking to pull from this folder up to 6 or 7 times on the same page w/ randomized pictures that do not repeat.Finally, I'm looking to be able to size and name these images based on which image randomly pulls. b/c it's not grabbing the images.
I have to do a slideshow with images of different widths... am using cycle plugin, which I like very much... I have a little test slideshow here, http:[url]....it's not centering imgs in containing div (I made div width of widest image.. this will work for my situation, in which imgs will be hard-coded..)if you inspect img element in firebug (#slideshow img), it shows that the plugin adds a style of position: absolute; top: 0px; left: 0px .to the img; why does the plugin do this.. how can I center the images in containing div...
I am trying to make different images hover over a table of sliced images when you mouse over a particular image. ex. mouse over image 1 = have image 1.1 hover over entire table of images in spot A; mouse over image 2 = have image 2.2 hover over entire table of images in spot B....ect. what i have so far only allows me to mouse over image 1 and have image 1.1 hover over entire table in spot A. Any time i try to move forward with more div's on other images it just jacks everything up.
Iīve just launch my website-portfolio, well itīs not yet the final version but it is almost and despite I am satisfied with the final result Iīve detected a really strange bug that only happens sometimes. The thing is when the first introduction Slide appears (the one with the hand-made drawings), sometimes the images shrink from the normal size to small tiny images. This doesnīt happen always and if you refresh the page it disappears.
Follow the link to the page were the bug happens - [url]. I'm using jquery cycle plugin, check it out.
I am working on a small gadget which downloads a series of images from the web and displays the images in a loop. However i am having trouble saving the xmlhttprequest to a file to use later in an array. I have read that it should be easy to save the .png using Scripting.filesystemobject but have been unable to find any information on how to do it.
i used setTimeout() function in my image gallery to scroll images , i used setTimeout("myfunction()",1) in my script. Now my image gallery is working properly but problem is that the speed of scrolling images if normal in firefox, but in internet explorer it is slow, and in google chrome it is very fast , Sir how to resolve this problem
I prefer jQuery over flash and not sure how to tackle this, so please advise as best you can. Trying to create a site that allows for images to go full browser and then have the ability to have the other images slide in based on a click.
I also want to float a menu that will allow it to pull in other media (video, that would slide in the same way). The best example I can share is this: http://j.mp/5U79i1 What he is using is flash based (slideshowpro director and slideshow pro for flash). Not interested in flash for this personal project.
I'm having difficulty loading images via Ajax on a site that I've been working on.I'm performing the ajax by using the Request.HTML object of the MooTools framework. Basically, I'm just passing some parameters to a php script which outputs some image tags and then I insert that HTML into a pre-defined content div. For some reason though, it seems that big images don't seem to load consistently when using this technique. Usually, they will just show up as broken images, but when I navigate to the url of the image that is 'broken', it displays just fine. Also, occasionally after navigating to the actual url of the image, my browser will cache the image and then it will display just fine when loading it through Ajax.
I am trying scrolling of images as like: [url]. I do want to set border for the images with border property as "2px solid #000" and i do want gap between the images so that the horizontal gap value is 20px.
I tried even with image border propoerty and image style properties both border and padding as 0 20px. Both not working properly. The style padding property is working fine in firefox and google chrome. But it is working in IE 6.0
I have a number of images placed on a map (the images are dots indicating a location)
When clicked, that displays different textual information somewhere on the page. View here and click the dots on the map for what I am trying to explain: [url]
What I want to do now is to toggle these dots so that when clicked, the dot turns white. This I could do with some code I found on the net. However, I need it to toggle all images. In that if one image has been clicked and turned white, and then the user clicks a different black ot, then that black dot should turn white, and the white dot should turn back clack.
Is there any way to move text over an AVI or shockwave object. i have put each one in its own <div> and can move them around and over each other. when i have text on text or on pictures its fine. but when i try to move text over a shockwave it disappears. i have set the z indexes etc but no luck.