I use the following script to strip the transparent background on PNG images in previous versions of Internet Explorer. However, it started hiding my images, and I can't figure out what changed.
I am very limited in my Javascript knowledge, so please keep your answers simple.
This script seems to be adding other styling to the images and the css settings here override the ones in my stylesheet even though the stylesheet comes after the script in my page. Code:
I have an application where the user loads graphics from another site. Presently I advise the user to wait for graphics to load before clicking on adjustments. Ideally, I would prefer a closed-loop approach where code would recognize completion of loading and automatically enable the adjustments.
My project contains drawing in web page and when the user clicks on Print button, only the graphics part shoulsd be printed. But, while I am trying to print this graphics, it's not happening. All other web page contents are printing but only graphics part is not. I need to fix this urgently.
how to animate svg graphics using jquery core only? basically what i want to be able to do is enlarge the graphic by 10% on hover and also add some css3 styles?
I want to have graphics instead of page numbers in JQuery Cycle Plugin. In the picture below (bottom-right), there are four numbers which should be circle graphics.
I want to use MathML or maybe javascript graphics and essentially create a real-time math preview. So I want to have a text box where you insert your source code, and I want the preview box to update automatically. For example, say I want the preview box to refresh every time the user enters a space character. Is there a way to get only the new source code entered to render in the preview box without having to re-render the entire preview every time? For example, if a user types 2x^3, I want the math equivalent to show up in the preview window. If a user then types in " + 2x" I want just the " + 2x" part to be drawn right next to the already-drawn "2x^3".
Is this possible? Or is the only way to re-render the entire preview every time the user types in a new term? I would like to only change what the user has edited. If a user edits the middle of the math, then I have no choice and have to re-render everything after what the user has just edited, but when the user is editing the math at the very end, can I not just tag it on to the end and render just that little piece?
I´m using the asp:menu control and the cycle plugin. No matter what I do, the drop down menu hides behind the slideshow. I´ve tried z-index, z-index !important, div-layout, table-layout, other slideshow plugins, different browsers (FF4, Chrome12, IE9).
I've created a function that would hide and show paragraphs from a drop down list, that paragraph contains a link that will show a div containing a map of google. But when I switch to another State on the drop down list I'd like to have the original first paragraph that showed up to disappear. So far, I can only get the <div> that contains the map to disappear.a function that would hide the paragraph and the <div>? Again, Here's the code:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"> <html> <head>[code].....
I am looking for a bit of Javascript that can hide a sentence in my website if the URL contains certain words, most specifically INFO or CERT. Any idea how I can do this?
i have two forms, one is to register and the other one is to log in. i want to have them on the same page, with the registration form displaying. And just allowing the user to click a link and show the log in form and hide the registration form.This is what i got so far, i can't get it to show the other form, it only hides both of them and displays nothing.
Code JavaScript: <script type="text/javascript"> function toggleview(id) { var login = document.getElementById(id);[code].....
On this page:[URL]..when you hover over "Informationen" and "Über uns" you get sub menu shown. When you move mouse away it hides. Normally i have problem with jquery making queue for every single hover i make, and then i just keeps on animating all those hovers. I tried to implement stop() but just cant get it to work properly.
This is my first little foray into JQuery, so far i'm impressed, having had very little JS experience, I was able to create the result. I wanted very qucikly and easily!
However, I'm having one little niggle...
Here's my code:
This works fine.. ticking the checkbox shows and hides the div. However, if I check the checkbox and refresh the page, the checkbox remains ticked, but the div is hidden. how I can make it work reliably?
I'm trying to get basic JQuery tabs working, using the example shown on this website.If I put the example code on a page by itself it works exactly as intended. However, as soon as I try and incorporate that same code into my site its behaviour changes. The content for all three tabs appears on the one page and then when the page has finished loaded they then eventually hide.
We are looking to implement something similar to the navigation found at this site: [URL] When you click on ABOUT, CONTACT, or LAB, the appropriate div within the content-main div shows/hides as appropriate. Fancy. I'm happy to read up on this on my own, but I don't really know how they accomplished this, so I'm not sure what to research. Since the page doesn't refresh, I'm assuming AJAX may be involved? Most importantly, I'm very interested in how their URL structure works. It looks like #about is an anchor that they are linking to. I thought about doing it in PHP, which I'm more familiar with, but I'd rather not refresh the page if I don't have to.
I'm trying to code a menu which when clicking say the 'news' button, a div will appear to the right containing the news, if you then click the button below, say 'information', the news div will be replaced by the 'information' div. I can figure out how to make a single menu item show and hide a div, but I can't for the life of me figure out how to do it for a whole menu.
I'm trying to put some code together to create an image-swapping system, that when you click on the image it'll hide the image and replace it with a given iframe vimeo/youtube code...
The swapping part works fine, however when the iframe loads up, it hides all other flash objects in the page, and I can't figure out why.
Here's the JS function swapvideo(w,h,url) { document.getElementById('video_pholder').style.display='none'; document.getElementById('video_code').innerHTML="<iframe src='"+url+"'
Unable to scroll down an ajax dropdown box in IE. as doing so causes the dropdown box to hide.
I have been told that I need to have a different DOCTYPE but using a 'scrict' doctype causes the menu to scroll downwards with each item on its own line and not across the top of the page.
This is the working folder I have created with just the bar bones of the page that are affected. code...
Can anyone suggest how I can get this to work on most if not all browsers.
oh, i have previously been told that I should use Jquery for this and the other functions on the page but I tried this at the first stages of setting the page up and it failed to work correctly.
1 - Accordion style vertical list that expands element (Film # and description) when "+more" link is clicked, and closes the previous open film and description.
2 - Activation of "+ more" shows a photo in separate div, and hides the previous photo that was visible in this separate div.