Te whole point is to provide the User a disclaimer and it they except
to continue on with the original (?) format.
The 'calling' web page generates something like "http://rhodeisland-
aa.org/tester/meetings/disclaima.htm?m tgnum=35" This indicates the
test system is being used 'tester' and the individual meeting is #35.
The output generated by this web page is the User clicks "Continue" is
"http://rhodeisland-aa.org/tester/meetings/geo_md.htm?mtgn um=35" This
output is not happening -- in fact in most cases the 404 error page is
called.
The script follows - <body onload="onopen ;">
-
<table class="inwin">
-
<tr>
-
<td colspan="2" width="240px">
-
TESTING<br>
-
<b>You are leaving an area over which RhodeIsland-AA.org has
-
total content control and entering
-
a web page which may have content over which we have limited
-
control.</b>
-
TESTING<br>
-
</td>
-
</tr>
-
<tr>
-
<td class="inwinopt" width="120px" align="center">
-
-
<form method='POST' action='' name='gonogo'>
-
<input type='submit' value='Continue' name='Continue'
-
style='width: 90; height: 50; FONT-FAMILY: Arial; color : blue ; FONT-
-
SIZE: 12pt; FONT-WEIGHT: bold'>
-
<input type='hidden' name='mtgnum' size="4" value='0'>
-
</form>
-
</td>
-
<td class='inwinopt' width='120px' align='center'>
-
<a id='CanAnchor' href='#' onClick='retreat() ;'>Cancel</a>
-
</td>
-
</tr>
-
</table>
-
-
<script type="text/javascript">
-
function onopen()
-
{
-
var forwardpath = self.location.href ;
-
document.gonogo.action = forwardpath.substring(0,
-
forwardpath.indexOf('disclaima.htm')) + 'geo_md.htm' +
-
forwardpath.substring(forwardpath.indexOf('?')) ;
-
alert (forwardpath.substring(0,
-
forwardpath.indexOf('disclaima.htm')) + 'geo_md.htm' +
-
forwardpath.substring(forwardpath.indexOf('?'))) ;
-
document.gonogo.mtgnum.value =
-
forwardpath.substring(forwardpath.indexOf('=') + 1) ;
-
alert (document.gonogo.action + ' ' +
-
document.gonogo.mtgnum.value) ;
-
return true ;
-
}
-
</script>
-
-
-
</body>
-
-
</html>
I am out of ideas and will appreciate some. In the meantime, thanks
for your time.
2 1088
ft310 wrote on 29 jun 2008 in comp.lang.javas cript:
Te whole point is to provide the User a disclaimer and it they except
to continue on with the original (?) format.
['format'?]
Better do this with serverside scripting,
but if you do this clientside,
no need to call a seperate page. - <head>
-
<script type='text/javascript'>
-
function ok(d){
-
d.parentNode.style.display='none';
-
document.getElementById('m').style.display='block';
-
};
-
</script>
-
</head>
-
-
<body>
-
<div id='disclaimer'>
-
DISCLAIMER<br><br>
-
Blah<br><br>
-
<button onclick='ok(this)'>Click me if you agree</button>
-
</div>
-
<div id ='m' style='display:none;'>
-
Main page<br><br>
-
Main page<br><br>
-
Main page<br><br>
-
Main page<br><br>
-
Main page<br><br>
-
</div>
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
ft310 a écrit :
Te whole point is to provide the User a disclaimer and it they except
to continue on with the original (?) format.
The 'calling' web page generates something like "http://rhodeisland-
aa.org/tester/meetings/disclaima.htm?m tgnum=35" This indicates the
test system is being used 'tester' and the individual meeting is #35.
The output generated by this web page is the User clicks "Continue" is
"http://rhodeisland-aa.org/tester/meetings/geo_md.htm?mtgn um=35" This
output is not happening -- in fact in most cases the 404 error page is
called.
- <html>
-
<body onload="onopen();">
-
<table class="inwin">
-
<tr>
-
<td colspan="2" width="240px">
-
TESTING<br>
-
<b>You are leaving an area over which RhodeIsland-AA.org has
-
total content control and entering a web page which may
-
have content over which we have limited control.</b>
-
TESTING<br>
-
</td>
-
</tr>
-
<tr>
-
<td class="inwinopt" width="120px" align="center">
-
-
<form method='POST' action='' name='gonogo'>
-
<input type='submit' value='Continue' name='Continue'
-
style='width: 90px; height: 50px;
-
font: Arial 12px bold; color: blue'>
-
<input type='hidden' name='mtgnum' value='0'>
-
</form>
-
</td>
-
<td class='inwinopt' width='120px' align='center'>
-
<a id='CanAnchor' href='#' onclick='retreat() ;'>Cancel</a>
-
</td>
-
</tr>
-
</table>
-
-
<script type="text/javascript">
-
function onopen()
-
{
-
var forwardurl = self.location.toString(),
-
forwardpath = forwardurl.substring(0,
-
forwardurl.lastIndexOf('/')+1),
-
forwardfollow = forwardurl.split('=')[1];
-
document.gonogo.mtgnum.value = forwardfollow;
-
document.gonogo.action = forwardpath + 'geo_md.htm';
-
-
alert ('action = ' +document.gonogo.action +
-
'\ntgnum = ' + document.gonogo.mtgnum.value) ;
-
}
-
-
/********** variante **********/
-
function onOpen() {
-
var forwardurl = self.location.toString(),
-
forwardfile = forwardurl.split('?')[0],
-
forwardfollow = forwardurl.split('=')[1];
-
forwardfile = forwardfile.replace('disclaima','geo_md');
-
document.gonogo.mtgnum.value = forwardfollow;
-
document.gonogo.action = forwardfile;
-
-
alert ('action = ' +document.gonogo.action +
-
'\ntgnum = ' + document.gonogo.mtgnum.value) ;
-
}
-
</script>
-
</body>
-
</html>
--
sm
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Peter Young |
last post by:
I'm seeing a problem with IE running on OS-X. When the user logs in to the
website (ASP/IIS5), a Session is established properly, but somewhere along
the line, a new Session is created and abandoned. At that point, the user
must log in again due to the code logic (their Session is "gone" and they're
then invalid). The original Session's On_End...
|
by: James |
last post by:
Are there any style elements that work on select elements on Apple/IE?
I want colored text, colored background, or just about anything
colored in a select drop-down but can't seem to make it work on
Apple/IE.
Thanks,
-James
|
by: Denis |
last post by:
I am building a site for my college and it looks OK on PCs (IE,
Netscape, Opera, not Mozilla though), but the page is displaced to the
bottom of the screen on a Mac.
Probably something simple, but I don't know where to look for
information.
If you help me, I'll put your name on the site credits.
See the site at www.ckno.org
|
by: Pras |
last post by:
SELECT
R.Resource_ID,
R.ResourceName,
R.ResourceGLT_ID,
R.ResourceNiku_Id,
T.Technology_Code AS TechnologyArea,
T2.Technology_Code AS TechnologyArea2,
T3.Technology_Code AS TechnologyArea3,
R.SeatNo,
'' as Location, '' AS Country,
|
by: Peter Larsson |
last post by:
Hello everybody,
I'm developing a system for a company that has production at two different
locations. The production is stored in an Access database at each location,
and I need to find a way to fetch data from both these databases and present
them to the boss (who is at one of the locations).
I've built a report generator in Excel...
| |
by: Karen Hill |
last post by:
SELECT surgeries.*, animals.*
FROM surgeries INNER JOIN animals ON .=.
AND WHERE ((.=Date()) Or
.=Date());
I'm trying to write a query that joins two table together, animals and
surgeries where surgeries.id = animals.id and only where the surgery
date was date_a or date_b.
I'm doing this in Microsoft Access 2000 and am tearing out my...
|
by: Roy Osherove |
last post by:
Hi folks.
I have an ASP.Net application that runs a .Net dll that uses WMI and
ADSI(both managed) to connect to a given IIS root and search through it.
When not using the ASP.Net client, but running from a winforms project - I
can connect to both local and remote machines.
However, when using the ASP.Net project - I get an "Access denied"...
|
by: George Durzi |
last post by:
Hey all. I need your help in designing a solution. I'm building a small wine
cellar manager application as a side project. A wine cellar can consist of
several "walls", each of which can have X rows and Y columns.
I'm trying to figure out a way to illustrate how certain walls in a cellar
are positioned with respect to each other. Consider a...
|
by: Wayne Smith |
last post by:
I've come up against a major headache that I can't seem to find a solution
for but I'm sure there must be a workaround and I would really be grateful
of any help.
I'm currently building a web site for a small club I belong to and one of
the features I would like to include is the ability to allow users to upload
image files.
...
|
by: gimme_this_gimme_that |
last post by:
I want to execute the following SQL statement for a single emp.emp_id.
Just adding and emp.emp_id=256 to the end of the statement results in
a SQL statement that on average takes 5.5 seconds.
I've tried various permutations of the statement where I add "and
emp.emp_id=256" or "em.emp_id=256" but fundamentally, I don't know how
to approach...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language...
| |
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...
| |