Create A Desktop Icon With Proper Icon Name, Not URL Name

Jul 20, 2005

how do I change my html/javascript so that if I drag and drop a link from a webpage to
the desktop in such a way that the name of the shortcut created is not the URL of the link but the link itself?

e.g. if the link is

<a href="http://www.microsoft.com"> MS </a>

then the name of the desktop icon should be 'MS' and not
http://www.microsoft.com

View 1 Replies


ADVERTISEMENT

Jquery :: When Click On The Icon To Display The Datepicker - The Picker Is Displayed But It Displays On The Wrong Icon

Apr 21, 2011

I am using multiple instances of the jquery datepicker on my form. Due to my CSS i could not use the icon trigger built-into jquery, it caused the icon to be displayed below the input field and i wanted it to be displayed next to the text. Below is the code for one of my input fields.

[Code]...

I have multiple date fields i want to use the datepicker with. The issues i am having are; 1. when i click on the icon to display the datepicker, the picker is displayed, but it displays on the wrong icon. No matter what icon i click on it always gets displayed on only one and it is always the same one. Each field has its own unique name and id the only thing that each field shares is a class. I can't seem to figure out how to fix this. My other issue is that when i click on the icon the page scrolls to the top, so if i am clicking on a picker icon at the bottom of the screen it scrolls the screen to the top.

View 2 Replies View Related

Website Icon In JS?

Aug 10, 2006

we use <link rel="Shortcut Icon" href="favicon.ico"to define the
website icon.

But I view the source of apple.com and yahoo.com, I find there is no this tag but they can show the icon very well. What is this technique?

View 3 Replies View Related

Put An Icon In A Listbox?

Sep 14, 2010

Can anyone point me to a place or knows how to put an icon in a listbox code...

View 3 Replies View Related

Icon In Browser Address Bar

Nov 9, 2006

Does anyone know how to add an icon to the url in the address bar in the
browser?

View 3 Replies View Related

Close Icon Is Not Working For IE7?

Aug 18, 2009

below code is not working for IE7.

function closeWindowFun(e){
winX = navigator.appName=="Microsoft Internet Explorer" ? window.event.clientX : event.screenX;
winY =navigator.appName=="Microsoft Internet Explorer" ? window.event.clientY :event.screenY;

[Code].....

View 1 Replies View Related

Google Maps Pin Icon?

Sep 2, 2011

We got a google maps with a bunch of pins. Each pin is setup to use our blue custom icon image. I'm trying to make it so that when you click on a pin, that particular pin changes to a green version of the icon, and all the reset stay blue. If the user clicks another pin, it turns green and the previous goes back to blue.Basicly only the clicked active pin should be green.

google.maps.event.addListener(markers[indx], 'click', function() {
this.setIcon("/images/greenmarker.png");
});

Here is my code so far that will change the clicked pin into a green version.My problem is all attempts to change all pins back to blue prior to changing this clicked pin to green fails bad.

View 2 Replies View Related

Googlemaps Icon Not Transparent / Fix It?

Sep 15, 2010

You'll see a google map there, created with this jQuery plugin. Although I've used the plugin on several occasions without any trouble, this time the map's .png icon/marker cannot be made transparent.

I've tried several things (removing my reset.css file, adding a js png- transparency fix, fiddling with the plugin options) but nothing works...

View 2 Replies View Related

Need Pre-loading Images Icon

Mar 22, 2011

I'm looking for a Javascript function that will display a loading icon in place of some large images I have on my website.

On a slow connection the large images take a while to load and I need something in place of those images until they have loaded fully.

View 1 Replies View Related

JQuery :: Icon Position On Button In IE?

Jan 29, 2010

If set the width of button by css the icon will be positioned in center of button (in IE 8).But in FF it looks good.

View 7 Replies View Related

Changing The Icon On Google Maps?

Jan 8, 2010

I have the following code to insert a google map of the UK into my page with some markers on it. This is fine except I want to change the icon to a simple flat spot. I'm sure this is easy and I have actually managed this before when there was only one marker on the map. how to do it on this example though.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>

[Code].....

View 1 Replies View Related

Close Icon Doesn't Appear / Get It To Work?

Jun 2, 2011

I was trying to add a text popup box on my page, and this code helped me but I need to add a close icon (which is an image in my code)..

but it doesn't work! code...

View 2 Replies View Related

Show Page Loading Icon ?

Jul 7, 2009

This thing is being seen on many websites...! while page is loading.. user see a page loading Icon until the page loads..! i dont knw wht exactly it is called.? some links or script so that i can us e it for my page..!

View 2 Replies View Related

Replace Dropdownlist Icon By Image?

Aug 8, 2011

I have a drop simple dropdown list.I want to replace the default textbox and select dropdown arrow of the list using an image.Like the dropdownlist will popup when i click on the image.

View 3 Replies View Related

Icon For Bookmark Site In Favourites

Mar 30, 2001

Does anyone know how sites (e.g. Sitepoint) show up with a smal iconn next to their name inmy Favourites menu (in IE)?

I'd like to do that for my site but am unsure how to go about it.

View 3 Replies View Related

Tree Folder Icon Swap

Aug 8, 2005

I have written a couple of functions to open and close <ul> like a forlder tree which is working great. I have a tiny little problem. When you open and close folders the icons are not properly swapping to indicate their state. Code:

View 3 Replies View Related

Appending Image Icon To Links?

Feb 16, 2010

I've got the following script to trace as far as defining the p variable, but then the script apperas to choke. I'm thinking my insertBefore logic is incorrect and wondered if someone can help me out.I'm basically trying to attach an icon inside the a tags within the 'content' container, in front of the a tag text to achieve something like

<a href=""><img src="icon.gif">Text</a> where as the moment the document just has <a href="">Text</a>

Code:

function createElement(parent, target){
var c = document.createElement('img');
c.src = 'icon.gif';

[code]....

View 3 Replies View Related

Onclick At An Icon Inside A Form?

Oct 23, 2011

I want to add an icon inside a form and be able to click it and run javascript code once clicked.Basically,i know how to add the icon on the form but i don't know how to make it clickable with OnClick.the input code for the text field is [code]But i don't know as i said where i should place OnClick command in order to make only the icon clickable.

View 1 Replies View Related

Add Loading Icon To Web Upload Form?

Nov 25, 2011

Im not a developer but I managed to fumble together a simple website and implemented an upload form from html-form-guide.com, but i want to add a loading icon to let the user know that its actually doing something, especially for larger files.

View 1 Replies View Related

JQuery :: Altering Position Of Datepicker Icon?

Apr 12, 2010

I would absolutely love to have the datepicker icon BEFORE the input field. Is there any simple way of doing this? (Or even not so simple... am prepared to have a go at tweaking the code in the .js file if only I knew where to start looking

View 8 Replies View Related

JQuery :: Button Background Broken For Icon?

Mar 25, 2011

I have abutton with an icon and the icon is displaced, when it is placed inside a span that has the class ui-widget-content

I believe that this person was having the same issue[URL]...I could just use a different class for the span,I just wondered if there was a

[Code]...

View 1 Replies View Related

JQuery :: Datepicker Icon Called Via Default?

Mar 24, 2011

I have called a calendar icon file from a script on the form - this works except IE, where I get the "x" for image. I prefer to call it from the widget defaults. I have downloaded the themeroller version, including datepicker. The defaults regarding button image that came with the download are:

buttonText:"",buttonImage:"",buttonImageOnly:false, I wish to change it to: buttonText:"calendar",buttonImage:"",buttonImageOnly:true,

Note the missing button image from the icons png that comes with the download. I can see that other widgets use those and that there is a calendar icon, but how do I go about calling that supplied icon calendar onto the page by using "buttonimage:"" "? I suspect there may be more to it...but cannot follow it through.

View 5 Replies View Related

JQuery :: Put An Icon In The Left Top Corner Of Titlebar?

Aug 10, 2010

how to put some icon in the left corner of title bar, just before the title?

View 4 Replies View Related

JQuery :: Able To Disable The Day Out Datepicker Icon - Hide It

Aug 31, 2011

I have 2 datepickers, 1 that has the day in and the other the day out. Id like to be able to disable the day out datepicker icon(hide it) until you put in the day in date. Here's my code. You'll notice the onSelect:datepickerhandle...this makes a call to that function which only allows the day out date to be within 30 days of the day in.Ill add this script at the bottom to.

var today = new Date();

View 1 Replies View Related

JQuery :: Page Fade In With Spinning Icon?

Jun 17, 2011

How can i use spinning icon while it is fading In: $("#click_div").click(function(){

$("#loading_div").load("page.php").hide().fadeIn(2000)
});

View 7 Replies View Related

Change Mouse Icon On MouseOver() Event?

Jul 19, 2009

i have a simple div that has one line of text. the text is blue and underlined, so it looks like a link. i have an onclick() event for it to change element visibilities on my page. i would really like to change the mouse icon from an arrow to the hand pointer (the one you see when you hover over a hyperlink) when the mouse is over the div. i'm not sure if I need an API call for something like this or not. Hopefully there is a simpler way to do this than what i am doing. I tried experimenting with <a href> but i have no actual link to use, as i am not linking to anything.

View 6 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved