I need to add the website which user is accessing via IE into the trusted sites list of IE after the user's confirmation click on confirm dialog. Is it possible? How to using Javascript?
The next step after Grant Wagner's simple solution to my "Get computer name" thread, is to automatically add the web application's site to the list of trusted sites in IE.
Obviously, the user should get a popup first that says "Do you want to add this site?"
I've looked through the Wscript doco in MSDN, but can't find a way of manipulating this browser setting.
I'd expect it to be something like "setHomePage" - namely "addTrustedSite".
I need "No-Block PopUp Window" for my web site.. for example if users open my sites another sites show or opens for them.. even a full page site like full pages ads..and it be like One time per hour or more..I found some script like that but some of them being blocked by IE or other browsers..
I want to design some menus for websites with submenus. I'd like to learn the code myself and I was wondering a good place to pick up on some tips on how to design them.
Also, is there a decent program out there that does it all for you at a good price?
1. You can choose which site you wish to visit from the first page, after pressing go it takes you to a frame page.
2. Inside the frame is the site, and a hidden frame
3. the hidden frame should be able to take the variable from the url place it in a text box,then place the text in that text box to the external sites textbox and then submit.
giving them the search result
so far I have made the page for choosing the sites, made the sites frame pages. But the frame within those pages I cant get to take the variable from the URL and place it inits textbox, also I dont know from there how i can make a Timeout so that it then passes that text information on to the external site and submits it.
I recently launched a question answer site that connects people with problems to those with solutions. We let people with problems pay solution providers $0.25 for problems in over 100 categories.
As part of our service we let people review past problems and also provide resources for their own research.
Can anyone tell me (in their opinion)?
What are the best three sites for javascript information? What are the best three javascript books they own?
I'm making 2 sites and need a visitor who lands on the home page of either site to first be shown a page that shows a company introduction and 2 links at the bottom so they can choose which division of the site (which website) they want to go to.Does anyone know of any pre-made java or other code that would allow for this? So that a visitor doesn't get stuck in a cycle of being taken from one home page to the other and having the pop-up every time, I'm thinking it will likely need to write a cookie saying they've seen the pop up, then it won't appear again.Each site would then have to check for a cookie from either site.
Here is what I want to do. Create four or five different versions of my site and when someone goes to it a randomly chosen version is displayed. The way I was thinking of doing this is to have the index page of each version in a frame, the containing would run a javascript that choose one of the versions of the site. I figure the container would not display anything and just be a tiny portion of the screen with no visible frame.
That said, I don't know anything about javascript. I just assume this is what I would use to do something like this. Does anyone have a better ideas as to what I would use for this or ideas on how I would go about doing it?
The above code only submit form to url_of_server1. The second submit is ignored. Is there any trick to make it works? For example is it possible to use XMLHttpRequest object to submit the form asynchronously?
I need to be able to import news feeds from various web sites.I only want to display the title and the first line or two from the source, with a link back to the source. I guessing it's JavaScript, but I really don't know where to start.
Is there any way to have something like a Mirror view set up for a webpage? Suppose I have a website with 2 frames, A and B. Frame A contains a flash player video. Is there a way to let Frame B display the contents of Frame A without reloading the flash player?
In other words, when the contents of Frame A changes, I would like Frame B to reflect that change. Also, Frame A's flash player should be controllable through Frame B.
I'm not sure if this is possible, so does anyone know of a way to do something like this? I'm not asking for the entire code/implementation, just a hint on how this can be done if possible.
I'm rather new to this, but... I created a website where on the left side I have a div (let's say sidebar1) and on the right side i have a div (sidebar2). I also have a header. Everything else is left for a div named "content".I need a script that allows me to swap the content of div "content" with a content of exactly the same div, but from another subdomain.It's simple to load a content of the whole subdomain into a div by using 'iframe' or 'object', but I have no clue how I can load only a part of subdomain. Is there any way to do this?
I'm trying to code a feature for my website using DHTML where the person viewing the website can rotate between viewing the positive/negative points of the website being reviewed. This example was in the publication called Using HTML 4 by Lee Anne Phillips. Code:
I was wondering if there are any sites dedicated to ending javascript objects using the prototype property to give them features like trimming string, removing elements of arrays by name, removing duplicates in arrays, etc. Granted I have functions to do this but there's probably a ton of other good ones out there. Most things I've seen are frameworks like JQuery (which is awesome) but it doesn't extend these objects.
At my job I constantly need to be up to the moment on the weather, and I want to create a display that will combine important elements from different weather services onto one screen that I can hang on the wall. What are need are basic <div>'s from several different sites. I know I could use iframes but I don't want to display entire sites, just the elements I need from them. Then I want to be able to have some DOM control over them (e.g. setting refresh time for each element).
The jQuery library is definitely very useful for those who have development background experiences but don't have the time to learn Javascript in it's true nature. I've played with it on and off, on a few smaller sites I manage, and the outcome was truly amazing. I don't know Javascript at all, aside from the basics and I was able to create a very fun and fast UI very quickly for my visitors. I wonder though; Does the jQuery library hold up efficiency for larger sites?
I currently manage a site with over 1.6 million post, averaging around 15,000 post per day this month. With me not having the time to really learn Javascript and I don't have much of a budget to hire someone to do the work I want yet, it would seem logical to use jQuery if I already know how to use it, right? I just worry, with the growth rate for the site at it's all time high, I'm afraid that jQuery will do more bad then good.
Are there any high traffic sites successfully using jQuery that you know about? has anyone experimented with jQuery on their high traffic sites? Would it seems more sensible to hire someone to do the Javascript work?
I've been having problems with web browsing that I think may be related to Javascript.I use forum sites like and there I get logged out every few minutes/seconds I've found that clearing my cache regularly seems to help a little, but it doesn't fix the problem. Other forum/avatar sites like Solia and Zaffcast don't work properly either, Solia was the site that first alerted me that my javascript may not be enabled. Since then, I have seen other sites that also require javascript that say that my Javascript is not enabled.I'm using Firefox, and my Javascript is certainly enabled in tools> options> content. I'm also having the same problems in IE, Opera and Safari (I haven't tried Chrome yet).I've done some javascript tests and it is working, but evidently not properly.There is another thing that confuses me, it's the fact that if I use my phone as a modem, I don't have this problem. So could it have something to do with my internet connection?
I would like to do something similar to the following link: http:[url]....In order to post links to websites I have done.how to do this without Frames?I see rockettheme uses Mootools but I have searched for mootools tutorials on this and couldn't find anything.
I have a ajax program on a page on website A. And I need to let it talk to a program on website B. I tried to put website B into the url of the parameter but it doesn't work.It gives me a "[objet XMLHttpRequest]" error.here is the code on website A:
I'm currently trying to use the jQuery Form Plugin to submit my form containing a file to upload and some other data to my 5 other servers.I'm using a php file with the following code to submit the form. It is working on every server and the file is getting uploaded correctly by the jsp usually.There are times when it will fail and maybe only the 1st and 5th will have the file. I'm thinking that maybe this is a syncing issue? Something to do with them all being called right away? Would there be any way to call them one after another as in letting the first one finish before submitting to the second?[code]