473,385 Members | 1,673 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

ShowModalDialog() dopesnt support URL Anchors?

I am trying to build a simple help system. I cant seem to get the
ShowModalDialog to actually jump to the correct location.

Why doesn't the following open the page to correct position?

function JScriptHelpClick() {

window.showModalDialog('Requirement_Help.aspx#Prod uct',null,'status:no;dialogWidth:
370px;dialogHeight:220px;dialogHide:true;help:no;s croll:no');
}

In the Requirement_Help.aspx page I have:

<h3><a name="Product">Product</a></h3>
<p>Select the product this requirement is intended to test.&nbsp; The
choices
are:</p>
I cant see why it wouldn't be supported....

Sep 23 '07 #1
1 1602
On Sep 24, 5:47 am, itc_sburn...@comcast.net wrote:
I am trying to build a simple help system. I cant seem to get the
ShowModalDialog to actually jump to the correct location.

Why doesn't the following open the page to correct position?

function JScriptHelpClick() {

window.showModalDialog('Requirement_Help.aspx#Prod uct',null,'status:no;dialogWidth:
370px;dialogHeight:220px;dialogHide:true;help:no;s croll:no');
}

In the Requirement_Help.aspx page I have:

<h3><a name="Product">Product</a></h3>
<p>Select the product this requirement is intended to test.&nbsp; The
choices
are:</p>

I cant see why it wouldn't be supported....
showModalDialog is an IE proprietary method, you may get more help in
a JScript or IE-centric newsgroup.

FWIW, an MSDN reference is here:

<URL: http://msdn2.microsoft.com/en-us/library/ms536759.aspx >
--
Rob

Sep 23 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: mlv2312 | last post by:
Hi, I have experienced problems when dealing with nested anchors. I implemented some code to perform highlighting and specific anchors are used for the searched words. The problem is when the...
1
by: mlv2312 | last post by:
Hi, I have experienced problems when dealing with nested anchors. I implemented some code to perform highlighting and specific anchors are used for the searched words. The problem is when the...
3
by: PeeBee | last post by:
I have researched the issue of setting the title of a window created with a call to showModalDialog. I have found numerous articles, but nothing that answers my particular case (Code abbreviated...
2
by: Perry van Kuppeveld | last post by:
Hi, When i'm using the ShowModalDialog function, while another browser window is open (not the application window calling the showmodaldialog) i lose my session. What could be the problem /...
4
by: MW de Jager | last post by:
I want to call ShowModalDialog(...) from my C# code in the code behind page of my aspx page. I do not want to link this to a button, since I want to first do some checking myself before I call the...
6
by: needin4mation | last post by:
I haven't used it in a while and thought I would check on it. Some say not to use ShowModalDialog (or at least they used to). But I just saw where Firefox has support for a similar type windows...
3
by: johkar | last post by:
Just want a verification of logic. This seems to work for IE and Firefox, but I wonder if it would be a problematic test in any of the other latest browsers? Is the use of the "window" object...
1
by: elizayiu | last post by:
Hi, I need to write a webpage which does the following: - open up a window and pass parameters into it (i.e. need to call showModalDialog() or showModelessDialog()) - contains jscript to...
0
by: itc_sburnett | last post by:
I am trying to build a simple help system. I cant seem to get the ShowModalDialog to actually jump to the correct location. Why doesn't the following open the page to correct position? ...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
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...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.