I have the following problem in Internet Explorer 6: after loading Google map (use simplest example from Google API site) I see abracadabra instead of russian letters on control buttons ("Satellite" and others).
If I simply remove check from View | Encoding Auto-Select and then check this item again the page is refreshed and everything is ok with russian letters. (By the way, there is no such problem in FireFox).
So my question: is it possible to execute these menu commands by the Javascript code? If yes - how? If no - what to do?
how to make a little menu where the user can set the font size? I wanted three a's like this: A A A. When you click on it, the font-size on the website will change. I think you can do this with javascript, but i don't know any javascript .
I have just started using Superfish. I am using a reverse color scheme (the background is green font color white) - so when I rollover a main menu item the menu item rolled over has a background of white, font color is green. When I go to a sub menu item the background of the main menu item stays white, but the font also stays white (I want the font to stay green).This is an example of how I want my menu to work:
http:[url]....
(Notice that when you rollover and then fly out, the main menu item rolled over maintains its background and foreground color).This is the part of the superfish.css that I have edited:
When I use Window.open ("mywindow.htm") the size of the window is the same as the size of the original. How can I open the new window in a smaller size, so people can still see my main window, and the smaller one.
I would like to split jquery into smaller files to enhance loading timefor mobile devices. Smarphones can't cache files larger than 20kb. Is it possible spilt jquery into smaller files?
Don't know if am in the right section to post this, but I want to create something in html as defined in the attached image.
What I want is if I click on the small 'Contact Us' div, it should open the contents in the bigger one at the bottom of the page, same applies for the other small divs, and by default I want the Contact Us content to appear in the bigger div when the page is loaded, and then replaced as and when clicked on other divs.
auto grab the webpage url yor on and put it into a smaller url. Could redirect towith url in the input box or does it`s own shortening.... I need it to be a extension form (ex: javascript:alert) xD.I'm needing this code for DSi user`s on DSiHub (DSi can't copy'n past) to make it easy for them to get avatars or post long links
i want to hide a floating div if the user screen is < 1024 as it will overlay with my blog content area. i found this jquery on the net i am not sure how to use it.
my relative wanted this star trail effect on the site: URL...I did similar effect below but I couldn't make smaller stars on trail, how can I achieve this?
See these demos here [URL]. I want to do the same thing (red on error and removes red upon correct entry) but only with one simple input (a spam question). All that jquery for one little thing seems def overkill. Anyone have a custom little script lying around or know of a example?
Is there a way to use javascript to increase the overall document text size, just like if you click View->Text Size->Largest, Larger, Medium, Smaller, Smallest? This is on IE browser.
I have successfully installed the datepicker jQuery plugin...works great. Here is what I am trying to do, and have not been able to figure it out. I would like our clients to be able to select any date that is past the current date, BUT, if the selected date is within 72 hours, I would like a popup javascript alert with a custom message.
i.e. Today is 7/30/2010...Bob selects 8/1/2010 from the calendar. It returns the date in a MM/DD/YYYY format to the form...and an alert pops up letting Bob now that availability may not beguaranteed.
Update: I have been playing with the code a bit....One way I am attempting to create this is by setting the 'defaultDate' to +3d and trying to create an IF statement that will alert if the selectedDate is smaller than defaultDate.
I've got a quick and little jQuery script set up so that when I hover over a div (#meatHome), a smaller div with a play button pops up (#playVideo). When you hit play, a div with a youtube embed comes up and plays (#promoVideo). Everything works, save for the fact that once the video comes up, I don't want the play button to come up anymore when I hover over it.
Here's the code:
When the play button is pressed, show the video player
Now, I have also tried using this for the function on lines 15 thru 18.
Which succesfully hides the #playVideo div permanently but fails to show the video div. If I swap out ($("#promoVideo")) with a simple string of text, it appears to work just fine. Can anybody shed some light on my plight?
make my script smaller by creating a function that controlls every textboxes instead of one textbox. See below my code that I want to make it smaller...
OK so the basic stylesheets comprise about 800 lines of code and look about as fragile as Trump's ego; I don't understand what most of these CSS selectors actually refer to and I'm intimidated about breaking something.I need to make a smaller (less width, 230px wide to be exact) version of the audio player.[URL]
I am trying to use the LPR command inside a javascript to print a PDF file directly to the printer. Want just a simple webpage with a button which will print test.pdf when clicked. code...
I know very little when it comes to javascript. If you know of a better way to use the lpr command
If I have a link to a URL such as <a href="http://www.mysite.com/somecode.htm?5">Link1</a>, and if I include javascript in the somecode.htm file, is there a javascript command that I can use which will read the argument 5?
For that matter, is there anyway to send an argument to the javascript code of an html link you are calling. Server scripts are not an option for me.
For example, assuming that index.htm contains 50 links, I would like each link to point to the same html file, but I want that javascript code in that html file to execute something different depending on which link was clicked.
My only other alternative would be to create 50 similar html files which to me looks like amateur or bad coding.