i saw this nice image fades on the nivo slider >>how are these part transparent tile-fades made?and is it possible to cut out a transparent static part from a JPG with jQuery?(like a rectangle part on the JPG is transparent made with jQuery)
I have a large image which contains different sections. I can scroll this up and down a certain amount. however, I want to cut the display to only a small square of the large image, and hide the rest. Think of a slot machine, the wheel is spinning but you only see a small area in front of you. How do I achieve this in jquery?
I have a site where I want to show a html code if the the url is www.tld.com/pris/*anythinghere* but not if the url is TLD Information Technology specialists without anything more. Example: I go to CNN.com - Breaking News, U.S., World, Weather, Entertainment & Video News -> nothing shows, then I move on to[url].....the html code shows.I know how to do this with php but I have to use javascript here.
For a college assignment, i have been tasked to create a web page that includes a fading background. (It must become semi transparent once the page has loaded,and remain until a new page is selected. I want to use a similar concept [URL]. However instead of fading out to black, i need it to fade out to white (between 10-15% image opacity).
I would also need a similar central, transparent, scrollable frame/div (where each page will load up within and like the above link,i need a different background image to each page.
I am having an transparent image and that image having image content at the right most corner of the image. Is there any way to get the offset of the image content(Actual content of the image) in Jquery.
i have been tasked to create a web page that includes a fading background. (It must become semi transparent once the page has loaded,and remain until a new page is selected. I want to use a similar concept to: [URL]. However instead of fading out to black, i need it to fade out to white (between 10-15% image opacity). I would also need a similar central, transparent, scrollable frame/div (where each page will load up within and like the above link,i need a different background image to each page.
in order to fade the background of a div. The content in this div I'd like to have without transparency. In IE this is the case, but in Firefox the content also is transparent with 0.8.I tried to apply fade with 1 to the content but that did not work ...
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)?
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'm creating the backend part of a slideshow of pictures. It initially has no slide, and the form has to display just the group of fields for one slide.
There is a select field for "number of slides" with an onchange handler, which depending on its value, will display more groups of fields, for other slides, or remove the remaining ones. So I want to copy an original group and append it to the container.
The problem is that all the fields have an index, in order to identify which slide they belong to.
I have list price and sale price like above. What I am trying to do is to compare list price and sale price; if sale price is lower than list price then display it as Was: $34.00 Now: $30.00 If both are same, then just hide the List Price. I am not sure how to get the numbers and compare; Honestly i am not sure where to start; i started like: alert ($(".uc-price-list").text()); but it is displaying inner spans; .val() displays empty string.
I am using the vertical scrollable by Flowplayer. There is one aspect of the set-up I can't get to work.
I have Scrollable working on a dynamically generated category list in Wordpress. There could be as many as 15 items in the list, but I only want to display five at a time. In order for Scrollable to work properly, each batch of five list items needs to be wrapped in a div (see example below). I'm pretty sure this is something I should be able to do in jQuery, but can't figure out how to do it.
Ideally, it should also work if there are only 12 items in the list by ignoring the missing three to make a multiple of five.
I'm having a bit of an issue with IE. For some reason on this page: [URL]. When the right panel #content slides in, the background of the parent div #bgfield also slides in with it. I can't find anything linking the two. The line of code for the slide looks like this: $("#content").css({'margin-right' : '-651px' }).animate( { marginRight: "0px" }, 1200 );
The associated CSS looks like /* Styles for Div holding the bg image */ #bgfield { position: relative; width: 900px; height: 448px; border: solid 10px #FFFFFF; /* background-image: url(images/transparent.gif); -- set this in each page */ background-position: center top; background-repeat: no-repeat; background-attachment: scroll; text-align: center; padding-top: 112px; overflow: hidden; }
how can I make simple mouseover image tooltip on the little cubic image in the first column of every row - when it's mouseovered, the image of current book, which is in that row, should be in tooltip.The name of every the image in folder "slike" is exactly the same name as the value of "slike" in xml for every book(knjiga)!
I was wanting to know how to properly make an image change when you hover over the main image.URL...And I want ALL the images to change as soon as you hover over each image.Now here's the problem. Whenever I layout my coding like that, when I hover over ANY image, an image I don't want to change, changes.So is there any way that I can get ALL images to work without having to create external JavaScript files?
I want to make an moving image. In time it should change to other image with other button. Also it could be changed by user. The change should be dynamic like moving from left to right.
I'm using the cycle plugin to crossfade a series of images that need to be transparent png files. I've got the png fix working, but in IE I can't get the images behind the first image to hide until called.
I've tried setting the display: none,-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)", and filter: alpha(opacity=50), which works to hid them initially, but when they fade into 100% they disappear.
Of course this is only an IE issue, firefox and safari are fine.
Here is the website I'm working on:DEMO For my navbar and footer I use jQuery to do a nice fade in and fade out:
$(function(){ var navbar = $('#navbar'), navbarLinks = $(".navbarlink", navbar);
[code]....
I'm currently cross-browsing the website and I found a very nice JavaScript hack that fixes the .PNG's so they work in IE6: DD_belatedPNG It works but it messes up my jQuery so that:
1.) My splash screen image is not centered correctly
2.) When you rollover the navbar or footer links they work for one cycle but then they become un-active after that...I bet after the JavaScript .PNG hack runs it changes the item so that it is not getting selected correctly...
P.S. I have this website working on IE7/8, FF, Safari, Chrome, Opera and iPhone. I'm only having this problem with IE6 and I know that the .PNG hack is causing the problem.
how can I have transparent borders for modal divs that I bring to frond have transparent borders? specifying: border: 10 px transparent yellow; in the settings.css will not work. I tried few things, and I am beginning to think it is not doable.
I created a button with 2 states for mouse-over effects using css sprites. This has always worked well and I have no issues. I recently added some jquery to my buttons to create a smooth transition for the mouse over and this is where I see the issue. When the page is initially loaded the image looks fine. When I hover over the image there is a brief flash of black around the transparent edges then the transition begins and everything looks okay. When I un-hover the image shows the black edges. From this point any time the image is in the un-hovered state the edges are black, and when I hover the black goes away. Example: [URL]
I started using jQuery yesterday so im a noob. I have a navigation bar, and i want it to display a background image on the active menu item. (Like the top most menu on this website, it has a little blue underline)
[Code]...
Line 2: It loops though all the <a> tags in an <UL> with id nav_prim. (The <a> tags are inside of <li>'s in the <ul>.
Line 3: I check to see if the <a> tag's href atribute is the same as the URL of the page, if it is
Line 4: i want that specific <a> tag's background-image to be images/nav_bg.gif.
I can't get it to work. In firefox i get the error " $("ul#nav_prim a")[i].css" is not a function.
Why is that? Can anyone please help me? As i've said im new to jQuery and Javascript in general aswell.