How To Make A Configuration Page
Dec 14, 2010
The problem is that I'm making a script and I need to have the information of a website on the script which is in a different document. The code of the website is similar to this:
<html>
<head>
<script type="text/javascript">
var name = prompt("Put here your name");
var surname = prompt("Put here your surname");
[Code]...
But I want to give the value of the name and surname to the vars of another script: var name = "What I have to put here to get the info of the web?"; var surname = "What I have to put here to get the info of the web?";
[Code]...
View 3 Replies
ADVERTISEMENT
Feb 14, 2007
Is there a way web.config could be accessed from client side scripting like javascript
View 1 Replies
View Related
Jan 13, 2010
I need to read configuration information into my script, possibly an xml file or a text file. Is there an existing library or script that can do this?
View 2 Replies
View Related
Jun 13, 2010
what's the way to avoid configuration object is undefined?
[Code]...
View 1 Replies
View Related
Feb 23, 2009
What I want to do is remove some lines of code, because more lines are bad and I hate them. I'm all about minimal lines in a project. I'm also all about making quality projects that can be easily changed, edited, updated, etc.
So what I need is a way to minimalize the following block of code, and make it available in a seperate javascript source file (*.js)
Code:
View 1 Replies
View Related
Jan 10, 2011
I have an webbpage, and in the middle of it there is an iframe to a php site. So i have used this code, so after some seconds the iframe will send the guest to another page. <meta http-equiv="refresh" traget="_top" content="5 url=http://mypage.com"/> But the thing is that i want the WHOLE page to reload, and go to that page after 5 seconds (we can say). With that code, only the iframe are going to another page. Is it possible to make the whole page send the user after some seconds, to another page and not only the iframe?
View 1 Replies
View Related
Oct 11, 2009
i want to make a iframe page that loading a page from other site. I have try "jQuery iFrame Sizing" to set auto height in iframe... but it is failed.
This is my code :
-------------
on Head
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/iframe.js"></script>
on Body
[Code]....
View 1 Replies
View Related
Feb 14, 2006
When someone comes to my site I would like to check to see if their
homepage is set to my site. If it is then nothing is done. If it is
not then I'd like a link to appear that asks if they'd like to set
their home page to my site.
Can this be done? If so can someone post the code to do it?
View 5 Replies
View Related
Apr 17, 2011
On this website... [URL] When you click on the Navigation Bar the website pages load inside that page?
How exactly would i go around doing this?
View 3 Replies
View Related
Jan 25, 2007
i need a script that allows users to make my page as browser homepage, (i.e, when users click a link, the page will be their home page e.x (Make anairat page as homepage.
View 2 Replies
View Related
May 12, 2011
I have a single webpage that contains information on all 50 U.S. states. There are 50 links at the top to jump down to the state you want, and at the bottom of the information for each state a Back to Top link.
I'm making the Back to Top link into something more complex, and it will require three or four lines of code.
So that I don't have to repeat the code 50 times, and create a burden when I need to edit it, I want to place it in a .js file and call it x. Then below the information for each state I'll simply have:
Does calling code from a .js file 50 times slow down the page load? Which method would load faster?
View 3 Replies
View Related
Apr 29, 2009
I have created a div on one of my webpages, the child of another div ("header"). I have tried setting it to "fixed" through CSS but then it just disappears -- I'm guessing the reason it does this is BECAUSE it's a child of another div.If there's a CSS solution to this, great, but right now I'm thinking I'll have to rely on JavaScript.Anybody have an idea of how I'd get this div to scroll with the page, like a fixed div?
View 3 Replies
View Related
Jul 23, 2005
I have report that takes about 5-10 seconds to generate depending on the
load. I want to show the user a progress bar while it is being generated and
when it's done, forward the browser to the report.
View 4 Replies
View Related
Jul 20, 2005
I have a slide show program. First theres stuff to set up the array, and the time between slides Then a function startIt()is defined then a function stopIt()
Then two buttons, Start and Stop, which when pressed call the relevant
functions.
When the page loads, you have to click the Start button to get the
slide show running, but I'd like it to start running straight away
without having to click. I can't for the life of me figure this out.
I thought it was just a question of putting the line
startIt(); Code:
View 2 Replies
View Related
Sep 20, 2009
I need a page to scroll to the top when visited, without using HTML anchors. Is this possible with JavaScript?
View 1 Replies
View Related
Mar 9, 2009
[URL]I'm trying to use the calendar found on that page, but when the month/year is changed in Firefox, the page resets to the top (assuming the user has scrolled down the see the calendar).
View 3 Replies
View Related
Apr 26, 2010
I'm using the service from Maxmind (http://www.maxmind.com/app/javascript_city) to get user's postal code, what I wanna do is pass the value to the next page using GET function.. I am quite new to PHP, however I think I should name the variable first and call it on the next page right? But it doesn't seem to work.
View 4 Replies
View Related
Oct 28, 2010
How do I make a swf pop up, on load, on a home page?
Similar to the lightbox technique, I want an swf file to pop up on the home page when it first loads.
I have looked into a similar type of script called "milkbox" but have had no luck.
View 5 Replies
View Related
Oct 8, 2011
Is there a way to make a script that edits something on a different page.
View 11 Replies
View Related
Jul 1, 2011
<!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>
<title>Page Timed Reload !</title>
[Code].....
I want this page to be reloaded every 15 seconds, and show the number of reloads till that time. I also wish to show a box where the timer is shown !
View 5 Replies
View Related
Oct 2, 2010
When I hit the submit button, the result are display on a new page. how do I force it to stay on the same page, here's my code.
Code:
<HTML>
<HEAD>
<TITLE>Test Input</TITLE>
[code]....
View 2 Replies
View Related
Jul 6, 2005
i am redirectiong the page like this
http://www.sitename.com?err=1
and
http://www.sitename.com?err=2
i want to knwo can i check through javascrip that wht is the value of 'err'
coz i wan to make some checks but the page is html.if it would be php i know to do it in php but problem is html page so how can i in javascript?
View 2 Replies
View Related
Aug 22, 2010
Is it possible to make RSS feed of a site what requires login before you can see the contents of it?
View 2 Replies
View Related
Jul 20, 2009
I have this javascript to open a new page.Currently it open the page but opens it as a pop up.How can i change to open in the same page.[code]
View 7 Replies
View Related
Jul 23, 2005
I want the page to completely ignore all mouse clicks. I can create
the onmouseclick event and return false, but that only disables
certain types of things. I can still, for example, click in a text box
and then type something or change the selection in a dropdown list. I
tried returning false in the onmousedown event, but that didn't do the
trick. I'd rather not have to disabled all the controls on the page.
Any ideas?
View 10 Replies
View Related
May 30, 2006
I have a small iframe (mid-right) with an embedded audio player.
<embed src="slideshow/streetsound.mp3"
width="75" height="25"
autostart="true"
loop="true">
Nothing fancy, however with that in there, the page seems to load twice in
IE. It fetches the SSI header, then clears it, then loads the rest of the
page 'behind the scenes', then finally displays it.
If I remove the embed, it loads the page bit by bit and you can start
reading before the rest of the page is done, which is what is desired for
obvious reasons.
Any idea why embed causes this? Works fine in FF etc.
View 3 Replies
View Related