Auto Create New Page?

Feb 9, 2010

I'm quite new at Javascript and I'm trying to create a script that will save me a lot of time when creating my website. I'm gonna try to explain what I'm looking for by taking a simple example. I have a page 'Portfolio'. On this page I have thumbnails of my work. 'OnMouseOver' will have the bigger version of the image appear on the screen (no need for a click). The images are named 1001, 1002, 1003, etc. The thumbs are named 1001_th, 1002_th, etc.

When I click on one of the thumbnails, I want the page "Details" to open, on which only the picture and the description is different for every project. The rest of the content will be the same every time. What I am trying to do is avoid having to create a page "Details" for each one of my projects (up to 100 and growing).I figure there must be a simple solution to 'take' the number of the picture and put it in a standard "Details" page.

View 14 Replies


ADVERTISEMENT

Auto Load File In A PHP Page & If Poss Auto Click Botton On External Page?

Jan 13, 2010

I don't know if this can be done in Javascript, or requires any other language but i was wondering if this would be possible.I would like to embed this Javascript code in to a PHP file and then for it to run automatically upon the PHP file loading:

<td class="smallDesc"> <a name="fb_share" type="button_count" href="http://www.facebook.com/sharer.php">Share</a><script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script> </td>

[code]....

View 2 Replies View Related

JQuery :: JqModal - Auto-size And Auto-center The Modal On The Page?

Aug 29, 2009

Using the very basic jqModal example, isn't it supposed to auto size and auto center the modal on the page? I placed a table that was wider than the modal's default settings and it's off the page and does not create scroll bars on the page to see the hidden section of the modal.

The default class is

Now, I know I can change the width of the modal but what about the positioning?

View 1 Replies View Related

Auto-create Cell In Html?

Mar 4, 2010

I'm pretty new in Javascript. I searched alot but didn't find any answer to my problem I have.

What I want to do:
- I have a cell A1
- I want the script to make a new cell B1
- After that I want the script to make a new cell C1
- After that I want the script to make a new cell D1
- After that I wa .... etc .... till I got 20 cells in total.

This has to go automatic so not by use of a client sided button.

I also need every cell to get his own IDnumber like A1 ID=1, B1 ID=2, C1 ID=3, etc to communicate with database and mysql. But maybe I have to use php for that.

View 10 Replies View Related

Auto Image Resize And Create Thumbs

Sep 25, 2007

Im looking for a code like the one below that automatically resizes posted images to desired size while at the same time the resized images are clickable for full size which opens in another window.

View 9 Replies View Related

Create A Order Form That Auto Calculates My Totals?

Oct 2, 2011

I am trying to create a order form that auto calculates my totals as I enter the quantities. It comes up with Not a Number(NaN).Below are snippets from my code this is obviously in a <form>:

HTML:
<!-- Row 3, Col 3 purchase boxes -->
<td colspan="1" height="120" align="left">
<input style="margin-left: 60px" type="text" name="bed_359" size="3" maxlength="3" onchange="calculateValue(this.form)" /> R359</td></tr>[code].....

View 7 Replies View Related

JQuery :: Create A Slider That Auto Scrolls 3-4 Images From Right To Left With No Controls?

Mar 8, 2010

What I am trying to do is create a slider that auto scrolls 3-4 images from right to left with no controls. And if the user hovers over it, it stops so they can read the content that is featured. Everywhere I search there are bunch of plugins i.e. easyslider, s3slider, etc. that have tons of code that is greek to me. I tried using the easyslider code and changing things around for it to do what I want, but I was unsuccessful.

View 4 Replies View Related

JQuery :: Create Copy Of File On Server Change It And Create Download Link On Page?

Dec 16, 2011

I have files on the server: .txt, .xml, .config, and "no extension" - all editable with notepad.

User will write some input, it will be added to file in specific place.

I need an ability to change element value in file (in one of them - depends what user choose) (or it even can be some trigger word it-self like CHANGE_ME for not to use attributes)

Create a temporary copy of edited file and create a unique temporary link to it.

I don't know what to start from.... For now I know how to make XHR, but what to do with other extensions?

Have no idea how to save the NEW file (a copy of original file) on server , and create a UNIQUE link ,and delete the file right after it was downloaded.

I can find a specific word in xml file, but how to change it?[code]...

View 3 Replies View Related

Auto-refresh Page Only Once

Mar 30, 2010

[code]i hav written dis code to auto refresh page only once but it is refreshing after every 5 seconds. Earlier i hav wriiten meta tag but it is refreshing page after every 5 seconds & after that i hav wriiten script to auto reffresh page only once but they both r doin the same work.

View 1 Replies View Related

Auto Scroll Down On Page Load?

Nov 22, 2010

i been poken around on here and have not found anything on this as of now, so i thought i would ask. i have a table of data that is positioned in the middle of one of my pages, rather than change the layout i thought it would be nice to just have the page auto scroll down to the middle of the page when the page loads so that the user does not have to constantly scroll down.

[Code]...

View 1 Replies View Related

Auto Start Page Rotator?

Jun 29, 2009

I launched the following scripts but only the "Auto Start Page Rotator" page appeared.

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html><head>
<meta content="text/html; charset=ISO-8859-1" http-equiv="content-type">

[Code].....

View 3 Replies View Related

AJAX Auto-refresh For PHP Page

Apr 7, 2011

I have a very simple php page that uses shell_exec to get some basic stats for my LAMP. I currently have it setup to where it uses a javascript refresh every 60 seconds, but would like to setup AJAX to have it so it doesnt actually refresh the page. I am new to javascript/ajax so I am a little lost, here is my code

[Code]....

View 2 Replies View Related

Page Doesn't Auto Refresh In Safari?

Mar 25, 2010

Most of the Javascript I see has some sort of time limit on page reload and is not really what I am trying to accomplish:

<meta http-equiv="Refresh"
content="10; URL=http://coffeeandtealtd.com/buynow.html" />

I am trying to make our buy page reload after clicking the Paypal "continue shopping" button in Paypal Website Standards. The pop up Paypal shopping cart window closes after clicking the button but our buy page doesn't reload. It doesn't reload in Safari although it seems to be fine in FF and IE. how to make the page reload in this specific instance only.

View 2 Replies View Related

Auto Refresh - Stop Page Scrolling

Apr 15, 2010

I'm attaching my php test file but this is a JS problem. When I scroll down in the web page and the meta refresh hits, in Windows Safari and IE6/7/8 browsers, the web page re-positions back to the top. In Opera and FF the page refreshes but it stays where it is. Can someone look at my test script and see why it is not working in IE and Win Safari? My goal is to have the web page not re-position to the top on the auto refresh.

View 4 Replies View Related

Cookie Reading - Create A Simple Checkout System That Utilizes Cookies To Pass Information From Page To Page

Nov 9, 2010

I'm trying to create a simple checkout system that utilizes cookies to pass information from page to page. Currently, my entire script works fine except for the read cookie portion. I cannot figure out what is wrong with it. It has been validated and the syntax is fine; it just doesn't work. I use the function with the onload call on my html file such as:

[Code]...

View 3 Replies View Related

Auto Refresh The Page If 503 Apache Error Message Appear ?

Dec 18, 2009

Is there a code to auto refresh the page if 503 apache error message appear ?

View 3 Replies View Related

Auto Populate A Drop Box Menu From A Pop Up Page Does Not Work On IE

Oct 14, 2010

i am trying to populate a drop down menu from a pop up page. what i have its working on chrome but it does not work on IE and i was wondering if you may be able to know why. Here is my code:

[Code]...

View 2 Replies View Related

Load <a> Tag Automatically On Page Start With Auto Thickbox?

Oct 23, 2010

I am recently installed auto thickbox in wordpress. Now what want is to auto load a external html page when someone visit my site for the first time. I have tried my best but failed.

View 6 Replies View Related

JQuery :: Page Auto-zoom Script To Fit With No Scrollbars?

Jul 12, 2011

To everybody who's interested,here is a nice cross-browser script which will zoom the page in case it isdesigned for a minimum resolution. The script will zoom the page to fit the width of the window so that the user does not have to scroll the page to the right or to the left.minW is the minimum width for your homepage to look good.divWrap is a DIV with which you should wrap your entire homepage.This script will also work when the window is resized.

<script type="text/javascript">
var minW = 1200;
$(function () {

[code]....

View 10 Replies View Related

Auto Select Certain Radio Buttons And Submit Page

Feb 6, 2010

I need a way to auto select certain radio buttons and then submit the page. Here is the form: [URL]. For questions 1 and 2 i would like the answer submitted to be "no" and for all others "no". I've been trying to do this with the little coding knowledge.

View 1 Replies View Related

Auto-refresh The Page If 503 Apache Error Message Appear?

Dec 19, 2009

is there a code to auto refresh the page if 503 apache error message appear ?

View 8 Replies View Related

JQuery :: Auto-Selecting Navigation - Add A Class To My Menu For The Page

Sep 12, 2009

I am trying to add a class to my menu for the page it is currently on.

I followed this example: [url]

But I am not able to make it work at all.

Here is my HTML:

To make the nav element highlighted, the list item must have a class of 'hover' like this '<li class="hover">...'

And here is my jQuery:

The script is not applying any CSS to the list elements. I tried different combinations, tried to add a class to the a element by removing parent(), but nothing is triggering.

View 1 Replies View Related

JQuery :: Stop Page Auto-refresh If Checkbox Is Checked?

Jun 20, 2011

Im fairly new to JQuery and need some help. Googling failed me :o have a web page that initially auto refreshes every 30 secs and has a bunch of checkboxes that are initially unchecked. I am trying to make it so that if at least one of those boxes it checked the page stops auto refreshing (without reloading the page, preferably). Is this at all possible? I am using Perl to generate the html.

My auto refresh is in the header, but im open to sticking it somewhere else, as long as it doesnt create crazy memory consumption that i've read about on these forums:<head

[Code]...

View 5 Replies View Related

Auto Slideshoload A Bunch Of Images And Display Only A Range Of Them On A Certain Page?

Oct 15, 2010

Does anyone know of a script or has a script i could use that allows me to load a bunch of images and display only a range of them on a certain page?

View 5 Replies View Related

AJAX :: Auto Div Refresh - Showing Recent Visitors On Profile Page

Jan 4, 2010

I am showing recent visitors on profile page.The most recent visitor would be "1 min ago".If suddenly new user comes so i just want to append that user with the message "about a min ago" without refreshing the page.

ex- suppose my recent visitors list ll be like this-

And now smita comes as the recent most visitor i want to append her name in to this list without refreshing the the entire page like this

I know i can do this with AJAX. I have searching around the net for the any helpful resource but didn't get anything yet.

View 10 Replies View Related

AJAX :: Auto-Refresh - Page Thats Makes An Call To The Server Gets The Time And Displays It

Mar 2, 2009

I have made a page thats makes an AJAX call to the server gets the time and displays it. In the OPEN method i have set

req.open("GET","/timerProg.cgi?param1="+new date(),false);

I have set the last parameter as false as i am expecting a synchronous request so that time displayed should be consistent.

I am using new date() since the browser is caching my request and displaying the same output everytime as i dont know any other alternative.

The alternative so that browser does not cache the results and gives proper output each time.

View 2 Replies View Related







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