I have a simple frame set up. With a header box containing the logo, and two columns underneath, the working part.
In the left side there is a form box to enter request into.
The request will be names of colors like; red, purple, yellow, blue and others.
Once the name of the color is entered into the box, and enter is hit, the desired color is shown in the 2nd column.
The entered word will need to be combined into a URL statement like this.
http://www.server.com/%REPLACETHIS%.html
With %REPLACETHIS% being replace by the entry word from the client.
The files stating colors are single files and are located on the server.
http://www.server.com/red.html
http://www.server.com/purple.html
http://www.server.com/yellow.html
http://www.server.com/blue.html
I don't want to set up a CGI-BIN search or Google search added to the site.
Thank you for any help and direction!
--------------------------------------------------------------------------------
Who's never won? Biggest Grammy Award surprises of all time on AOL Music.
5 2043
I have a simple frame set up. With a header box containing the logo, and two columns underneath, the working part.
In the left side there is a form box to enter request into.
The request will be names of colors like; red, purple, yellow, blue and others.
Once the name of the color is entered into the box, and enter is hit, the desired color is shown in the 2nd column.
The entered word will need to be combined into a URL statement like this.
http://www.server.com/%REPLACETHIS%.html
With %REPLACETHIS% being replace by the entry word from the client.
The files stating colors are single files and are located on the server.
http://www.server.com/red.html
http://www.server.com/purple.html
http://www.server.com/yellow.html
http://www.server.com/blue.html
I don't want to set up a CGI-BIN search or Google search added to the site.
Thank you for any help!
gits 5,390
Expert Mod 4TB
hi ...
you may use the window.location.href property of a window (frame) here, call a function like this, when your action occurs: - function open_page(node, frame) {
-
var url = 'http://www.server.com/%s.html';
-
url = url.replace(/%s/, node.value);
-
-
frame.location.href = url;
-
}
-
pass references to the node (input-element) and the target-frame to it ... in case you have problems with it then post your code so that we may look at it together ...
kind regards
Please remember to provide a meaningful Title for any threads started (see the FAQ entry Use a Good Thread Title).
This helps to ensure that other members, and also the general public, will have a better chance of finding answers to any similar questions.
Thanks!
html/css cannot do this. You need javascript so I'll send this there.
gits 5,390
Expert Mod 4TB
threads merged ...
kind regards
MODERATOR
Sign in to post your reply or Sign up for a free account.
Similar topics
by: Craig Keightley |
last post by:
Can these lines of sql statements be consolidated into one sql statement
(possibly using reg exps??)
BEGIN CODE
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Update...
|
by: - ions |
last post by:
Hi, i would like to know how to replace every char in a string with a
certin given char using the String.replace(char oldChar,char newChar).
I would like to replace all letters with an underscore...
|
by: ROBT NISHIDA |
last post by:
Hello,
I have a frameset page with 4 frames. There is a form in frame that
contains text input boxes. I have image buttons in some of the other frames
that invoke javascript functions within...
|
by: Pat Sheen |
last post by:
In IE6 I'm using the following html to have three frames. One of the
frames is to open a locally stored MS Word document.
<frameset rows="100,1*">
<frame name=SiteHdr...
|
by: Leo |
last post by:
Why is it not possible to get the frame from the interpreter using the
inspect library? IOW, why does this code:
>>> from inspect import *
>>> stack()
produce:
|
by: Daniel |
last post by:
I use an Access database to basically take data exports, import them,
manipulate the data, and then turn them into exportable reports. I do
this using numerous macros, and queries to get the data...
|
by: C# newbie |
last post by:
Hello group,
When I run an XPATH query first as:
//*[contains(translate(.,\"ABCDEFGHIJKLMNOPQRSTUVWXYZ\",
\"abcdefghijklmnopqrstuvwxyz\")
|
by: punitpandia |
last post by:
consider a frame has 720 words , each word is of 9 bits
how can i fill up my frame of 720 words with numbers starting from 0 to 720.
if we store this frame in a file then size taken by this...
|
by: alxasa |
last post by:
Hi, can someone please show me how to most elegently do this?.....
I have a textbox, and I want to search the contents of it and replace
all instances of a certain word, and replace that word...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
| |