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 am doing the JavaScript code But my code is not running please have a look onc code sirnow i am trying the button click then not workingMy Code is BelowPage.html
<!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">
I am trying to make a gui for clients to edit a php page that displays html and javascript.
I want the user to be able to move html elements around and even edit it like add effects like fade in and out etc.
Then after all the changes I want to overwrite the existing php file that does this for that user. how can you make such changes and then save it to a file?
It's an html / javascript editor but using a gui instead of allowing them to directly touch the code. It would be a security risk if I allow such a thing. So I need to program a interface that would make such changes and save them to file.
Like how can you delete and add new javascript code to the file?
One of the great annoyances I have with JavaScript is the lack of a good consistent code library. Oh, there are a few code libraries scattered around for doing various things. The problem is that each of them have their own way of doing things. If we want to use more than one library at a time, we often end up duplicating code and working with different interfaces and practices that aren't necessarily compatible with each other...
So... isn't it about time that we have a Common JavaScript Framework?
I'm thinking of a standardised code library, mostly (but not entirely) built from the free code that is already out there. (I'm thinking of a LGPL core with independantly licensed extensions.)
I know of a few very cool projects that aim to make JavaScript development easier, more professional and to bridge the gap between browsers and environments. (To name a few: DynAPI, DOMAPI, Sarissa, 13th parallels' library, netWindows, bindows, ActiveUI, f(m).) But I don't know of any effort to bring all of these features into one common framework. Can we do anything about this?
I'm not exactly proposing that we form a group to design and implement a complete framework. I just think that, us, JavaScript developers should talk to each other more and agree on a few things. Then, I imagine being able to access this centralized, well designed library that is ready for serious (and less serious) development and the dream goes on...
I have been working with JS (client and server) for some years now and I'd like to bring more consistency to my code and spend less time writing lower level code. So I may be writing this email more out of wishful thinking than determined action. In any ways, I remain interested to support any effort that would lead me to better, well designed, programming.
I am trying to create 3 boxes with 2nd select box content to be uploaded on the basis of value selected in first box and third box list should be uploaded on the basis of value selected in 2nd box.i have written coding for that as below but it is not working .
Is there a way to place a code that will be executed any time any button is pressed or any hyperlink is clicked? I don't want to write or call this code on every button press. Something similar to java's base class functionality that is extended by child classes? In my project ,I have to manage users to access my app - and if a user is deleted and that same user is having app open in one of her browser windows and she performs any action,she should be redirected to login screen.
I am thinking of writing a code that will check if user exists in the db or not and then put it in javascript file at a common place so that it gets executed everytime user presses a button(or does any other action). I am using jquery and Direct Web remoting framework in my app.
what character occurs most frequently in a textarea. Do I really have to store every single character in an array and then sort it? Is there a Regular Expression for this?
I have a problem in accessing all elements with a common id name in ExtJs. In fact, I have a couple of divs with id like:divmic+a number.
That is the code:
Code: <div id="slideshow" > <% for i=0 to 660/23 for j=0 to 380/23 Response.Write "<div id=divmic" & i & j & "
[Code]...
If I try this code, what is inside of "each" instruction works, but if I want to access all those elements having id starts with "divmic", it doesn' work. Why it's happen that think and how to put all those elements into an array, in ExtJs ?
Usually I have various JavaScript functions for common functionality on my pages (i.e. select all, export, etc.). Typically I will create a common.js file and place these functions within it. Is there any advantage to create a client side object which encapsulates this functionality such that I'd use something lik common.SelectAll() or something similar?
Not sure if there is a best practice peeps follow for this or not.
when the user submits a form whose fields have not satisfied the validations, then how can we display a "message" saying that "please fill all the fields appropriately"? And also that message should disappear when the fields are appropriately filled.
I need to have two different DDL's where when I choose VAL = Dep1 on ARRAY1, I should see on the 2nd DDL only elements with parent corresponding to Dep1 ( PARENT =10).
I have a website that lists the movies I have on my computer and then when you click on a link for that movie, it retrieves information from IMDB. The code is in testing but for the most part it works.I was wondering if anyone knew why the following JavaScript would work on Firefox but not in IE. I develop on Linux, and I know there are IEs available for Linux, and I have used them before. I will be sure to track down the issue later, but from the resources I've been using, this should work in both major browser types (standards compliant and microsoft).The code is very dirty, and I have started an object oriented rewrite, but if I don't have the proper DOM skills for IE in this spaghetti code then I doubt anything is going to change putting it all into Objects.
Suppose,closing the browser through Browser Close Button(Top Right Corner cross(x) button), i have to execute some ASP script , for that, in body onUnLoad Event calling a fucntion called CloseWin(e,frm), it is working in Internet Explorer successfully , But in FireFox not working. how to solve this problem. or any other way to get the co-ordinates of browser close button( code for both IE and Firefox).
code follows
function CloseWin(e,frm) { //frm required for my program var bButtonClicked = false;
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?
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".