How Do I See The "Smaller Font" Menu Command?
Jul 23, 2005
In Javascript, how do I detect that the user has used the browser's menu
command to make the font smaller?
I just need some kind of event or callback, so I can adapt to the new
environment.
View 3 Replies
ADVERTISEMENT
Apr 7, 2009
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?
View 1 Replies
View Related
Sep 13, 2011
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 .
View 6 Replies
View Related
May 14, 2010
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:
/*** DEMO SKIN ***/
.sf-menu
{[code].....
View 1 Replies
View Related
Jul 20, 2005
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.
View 3 Replies
View Related
Nov 3, 2009
How can you have a smaller version of a picture and when you click on it a bigger version pops up?
View 4 Replies
View Related
Oct 15, 2011
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?
View 2 Replies
View Related
May 14, 2010
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.
View 7 Replies
View Related
Aug 23, 2011
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
View 1 Replies
View Related
Nov 28, 2010
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.
$
(
document
).
[Code].....
View 5 Replies
View Related
Nov 9, 2011
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?
View 2 Replies
View Related
Jun 6, 2010
i'm sure this is an easy fix, [URL] trying to get rid of the black background around the smaller pictures in the slideshow.
View 3 Replies
View Related
Dec 6, 2010
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?
View 7 Replies
View Related
May 21, 2011
I would like to make to horizontal items smaller in height. Is there an easy way of going this?
View 1 Replies
View Related
Jul 23, 2005
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.
View 11 Replies
View Related
Jul 30, 2010
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.
View 2 Replies
View Related
Aug 6, 2010
[div id="WhateverHolder"]
[div class="item"][/div]
[div class="item"][/div]
[div class="item"][/div]
[code]....
I have looked for a plugin that can do this but to no avail what is the easiest way to do this in jQuery
View 1 Replies
View Related
Oct 16, 2010
A plug-in that shows only a part of the image and not the whole image.
To be clear, I don't need resizing, just sectional viewing.
I have large images of map/newspaper, but I only want to center to a position and show a part of the image, how can I do that.
I have looked at a couple of the pop-up plug-ins and they don't do that. Also, I don't need pop up functionality.
For e.g. only show a specific part of map, or a newspaper.
View 1 Replies
View Related
Jun 28, 2010
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?
If you need the html code, here it is as well.
View 1 Replies
View Related
Aug 18, 2010
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...
$(".searchField").focus(
function()
{
[code]....
View 2 Replies
View Related
Aug 17, 2011
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]
View 2 Replies
View Related
Nov 3, 2010
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
View 1 Replies
View Related
Dec 23, 2010
I have this code..
javascript:function showMore() {ProfileStream.getInstance().showMore(); setTimeout(showMore, 2000)}; showMore();
i want to loop it 10 times, but do not know how to do it.I have been told that the for var command is what I want, but I cannot get it to work.
View 2 Replies
View Related
Feb 17, 2009
[b]How to close the exe files through javascript
View 1 Replies
View Related
Jun 5, 2004
What is the JS to refresh the page and possibly append some url parameters?
View 3 Replies
View Related
Jul 23, 2005
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.
View 6 Replies
View Related