Hyperlink path

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I using a hyperlink to link to a web page and I need to pass a path through
the hyperlink for the snapshot viewer. the snapshot viewer is on a different
web page.
can this be done?

How would I access the path once the hyperlink is working.
 
I suppose you just create a normal hyperlink to the page with this snapshot
viewer.....
 
<a
href="index_01-AmFam.html?Path=DatacardReport/Lifestyle's+New+American+Family">Lifestyle's
New America Family</a>
what does this do?
I thought that the Path can be pass to a different web page.
Can u do that?
And How?

I am trying to pass a path for a snapshot report to a web page that snapshot
viewer built in.
 
Hmmm!

I am an amateur in this field , but I can see what the hyperlink is doing

When you click on the underlined text, it will open a file in the same
directory named "index_01-AmFam.html"
It will pass to that file a parameter Path with the value
"DatacardReport/Lifestyle's+New+American+Family"

This parameter has to be extracted by code in index_01-AmFam.html.

I do it this way:
In the head section of the HTML is
<script type="text/javascript">
function qsobj(parm)
{
var qstring = document.location.search.substring(1)
var qpairs = qstring.split("&")
var qvbl = qpairs[parm].split("=")
return unescape(qvbl[1].replace("%20"," ").replace("+"," "))
}
var Path= qsobj(0)
</script>

The code can then do what it likes with Path, but intuitively it points to
somewhere else

I think I do similar to what you want.

I have a page on my site "Picture Album" (named album.html) with many
thumbnails. When you click on one it opens "picture.html" and passes to it
parameters for the name of a jpg file, a caption, and some other variables
for positioning the image.

Feel free to look at/take my code if it is of any use.
--
Cheers,
Trevor L., WIP (Web Interested Person)
Website: http://tandcl.homemail.com.au
<a
href="index_01-AmFam.html?Path=DatacardReport/Lifestyle's+New+American+Family">Lifestyle's
New America Family</a>
what does this do?
I thought that the Path can be pass to a different web page.
Can u do that?
And How?

I am trying to pass a path for a snapshot report to a web page that
snapshot viewer built in.


I choose Polesoft Lockspam to fight spam, and you?
http://www.polesoft.com/refer.html
 
How Do i call the function and then insert it in the Snapshotviewer value
property for the path?
thanks

Trevor L. said:
Hmmm!

I am an amateur in this field , but I can see what the hyperlink is doing

When you click on the underlined text, it will open a file in the same
directory named "index_01-AmFam.html"
It will pass to that file a parameter Path with the value
"DatacardReport/Lifestyle's+New+American+Family"

This parameter has to be extracted by code in index_01-AmFam.html.

I do it this way:
In the head section of the HTML is
<script type="text/javascript">
function qsobj(parm)
{
var qstring = document.location.search.substring(1)
var qpairs = qstring.split("&")
var qvbl = qpairs[parm].split("=")
return unescape(qvbl[1].replace("%20"," ").replace("+"," "))
}
var Path= qsobj(0)
</script>

The code can then do what it likes with Path, but intuitively it points to
somewhere else

I think I do similar to what you want.

I have a page on my site "Picture Album" (named album.html) with many
thumbnails. When you click on one it opens "picture.html" and passes to it
parameters for the name of a jpg file, a caption, and some other variables
for positioning the image.

Feel free to look at/take my code if it is of any use.
--
Cheers,
Trevor L., WIP (Web Interested Person)
Website: http://tandcl.homemail.com.au
<a
href="index_01-AmFam.html?Path=DatacardReport/Lifestyle's+New+American+Family">Lifestyle's
New America Family</a>
what does this do?
I thought that the Path can be pass to a different web page.
Can u do that?
And How?

I am trying to pass a path for a snapshot report to a web page that
snapshot viewer built in.


I choose Polesoft Lockspam to fight spam, and you?
http://www.polesoft.com/refer.html
 
I am using the Snapshot viewer which is built in to the web site that I made.
I need to know how to pull the path from the hyperlink and insert it into the
html for the path to the file . Here is the code for the Snapshotview:

<OBJECT ID="SnapshotViewer" WIDTH=736 HEIGHT=914
CLASSID="CLSID:F0E42D60-368C-11D0-AD81-00A0C90DC8D9">
<PARAM NAME="_ExtentX" VALUE="16722">
<PARAM NAME="_ExtentY" VALUE="11774">
<PARAM NAME="_Version" VALUE="65536">
<PARAM NAME="SnapshotPath"
VALUE= NEED STRING TO GO HERE valuetype="ref">
<PARAM NAME="Zoom" value ="0" >
<PARAM NAME="AllowContextMenu" VALUE="-1">
<PARAM NAME="ShowNavigationButtons" VALUE="-1">
<
</OBJECT>
I need to put the path in The snapshotPath Which I have it make here by NEED
STRING TO GO HERE.

spenn said:
How Do i call the function and then insert it in the Snapshotviewer value
property for the path?
thanks

Trevor L. said:
Hmmm!

I am an amateur in this field , but I can see what the hyperlink is doing

When you click on the underlined text, it will open a file in the same
directory named "index_01-AmFam.html"
It will pass to that file a parameter Path with the value
"DatacardReport/Lifestyle's+New+American+Family"

This parameter has to be extracted by code in index_01-AmFam.html.

I do it this way:
In the head section of the HTML is
<script type="text/javascript">
function qsobj(parm)
{
var qstring = document.location.search.substring(1)
var qpairs = qstring.split("&")
var qvbl = qpairs[parm].split("=")
return unescape(qvbl[1].replace("%20"," ").replace("+"," "))
}
var Path= qsobj(0)
</script>

The code can then do what it likes with Path, but intuitively it points to
somewhere else

I think I do similar to what you want.

I have a page on my site "Picture Album" (named album.html) with many
thumbnails. When you click on one it opens "picture.html" and passes to it
parameters for the name of a jpg file, a caption, and some other variables
for positioning the image.

Feel free to look at/take my code if it is of any use.
--
Cheers,
Trevor L., WIP (Web Interested Person)
Website: http://tandcl.homemail.com.au
<a
href="index_01-AmFam.html?Path=DatacardReport/Lifestyle's+New+American+Family">Lifestyle's
New America Family</a>
what does this do?
I thought that the Path can be pass to a different web page.
Can u do that?
And How?

I am trying to pass a path for a snapshot report to a web page that
snapshot viewer built in.


:

I suppose you just create a normal hyperlink to the page with this
snapshot viewer.....

I using a hyperlink to link to a web page and I need to pass a path
through the hyperlink for the snapshot viewer. the snapshot viewer
is on a different
web page.
can this be done?

How would I access the path once the hyperlink is working.


I choose Polesoft Lockspam to fight spam, and you?
http://www.polesoft.com/refer.html
 
I am using the Snapshot viewer which is built in to the web site that I made.
I need to know how to pull the path from the hyperlink and insert it into the
html for the path to the file . Here is the code for the Snapshotview:

<OBJECT ID="SnapshotViewer" WIDTH=736 HEIGHT=914
CLASSID="CLSID:F0E42D60-368C-11D0-AD81-00A0C90DC8D9">
<PARAM NAME="_ExtentX" VALUE="16722">
<PARAM NAME="_ExtentY" VALUE="11774">
<PARAM NAME="_Version" VALUE="65536">
<PARAM NAME="SnapshotPath"
VALUE= NEED STRING TO GO HERE valuetype="ref">
<PARAM NAME="Zoom" value ="0" >
<PARAM NAME="AllowContextMenu" VALUE="-1">
<PARAM NAME="ShowNavigationButtons" VALUE="-1">
<
</OBJECT>
I need to put the path in The snapshotPath Which I have it make here by NEED
STRING TO GO HERE.

spenn said:
How Do i call the function and then insert it in the Snapshotviewer value
property for the path?
thanks

Trevor L. said:
Hmmm!

I am an amateur in this field , but I can see what the hyperlink is doing

When you click on the underlined text, it will open a file in the same
directory named "index_01-AmFam.html"
It will pass to that file a parameter Path with the value
"DatacardReport/Lifestyle's+New+American+Family"

This parameter has to be extracted by code in index_01-AmFam.html.

I do it this way:
In the head section of the HTML is
<script type="text/javascript">
function qsobj(parm)
{
var qstring = document.location.search.substring(1)
var qpairs = qstring.split("&")
var qvbl = qpairs[parm].split("=")
return unescape(qvbl[1].replace("%20"," ").replace("+"," "))
}
var Path= qsobj(0)
</script>

The code can then do what it likes with Path, but intuitively it points to
somewhere else

I think I do similar to what you want.

I have a page on my site "Picture Album" (named album.html) with many
thumbnails. When you click on one it opens "picture.html" and passes to it
parameters for the name of a jpg file, a caption, and some other variables
for positioning the image.

Feel free to look at/take my code if it is of any use.
--
Cheers,
Trevor L., WIP (Web Interested Person)
Website: http://tandcl.homemail.com.au
<a
href="index_01-AmFam.html?Path=DatacardReport/Lifestyle's+New+American+Family">Lifestyle's
New America Family</a>
what does this do?
I thought that the Path can be pass to a different web page.
Can u do that?
And How?

I am trying to pass a path for a snapshot report to a web page that
snapshot viewer built in.


:

I suppose you just create a normal hyperlink to the page with this
snapshot viewer.....

I using a hyperlink to link to a web page and I need to pass a path
through the hyperlink for the snapshot viewer. the snapshot viewer
is on a different
web page.
can this be done?

How would I access the path once the hyperlink is working.


I choose Polesoft Lockspam to fight spam, and you?
http://www.polesoft.com/refer.html
 
I would use server-side scripting, for example ASP:
<%
dim pathname
pathname=request.querystring("path")
%>

<OBJECT ID="SnapshotViewer" WIDTH=736 HEIGHT=914
CLASSID="CLSID:F0E42D60-368C-11D0-AD81-00A0C90DC8D9">
<PARAM NAME="_ExtentX" VALUE="16722">
<PARAM NAME="_ExtentY" VALUE="11774">
<PARAM NAME="_Version" VALUE="65536">
<PARAM NAME="SnapshotPath"
VALUE= "<%=pathname%>" valuetype="ref">
<PARAM NAME="Zoom" value ="0" >
<PARAM NAME="AllowContextMenu" VALUE="-1">
<PARAM NAME="ShowNavigationButtons" VALUE="-1">
</OBJECT>


The calling link would be similar to
<a href="snapshotpage.asp?path=requiredpath>snapshot</a>

I have no idea whether this will work or not.
--
Ron Symonds
Microsoft MVP (FrontPage)
Reply only to group - emails will be deleted unread.

spenn said:
I am using the Snapshot viewer which is built in to the web site that
I made.
I need to know how to pull the path from the hyperlink and insert it
into the
html for the path to the file . Here is the code for the
Snapshotview:

<OBJECT ID="SnapshotViewer" WIDTH=736 HEIGHT=914
CLASSID="CLSID:F0E42D60-368C-11D0-AD81-00A0C90DC8D9">
<PARAM NAME="_ExtentX" VALUE="16722">
<PARAM NAME="_ExtentY" VALUE="11774">
<PARAM NAME="_Version" VALUE="65536">
<PARAM NAME="SnapshotPath"
VALUE= NEED STRING TO GO HERE valuetype="ref">
<PARAM NAME="Zoom" value ="0" >
<PARAM NAME="AllowContextMenu" VALUE="-1">
<PARAM NAME="ShowNavigationButtons" VALUE="-1">
<
</OBJECT>
I need to put the path in The snapshotPath Which I have it make here
by NEED
STRING TO GO HERE.

spenn said:
How Do i call the function and then insert it in the Snapshotviewer
value
property for the path?
thanks

Trevor L. said:
Hmmm!

I am an amateur in this field , but I can see what the hyperlink
is doing

When you click on the underlined text, it will open a file in the
same
directory named "index_01-AmFam.html"
It will pass to that file a parameter Path with the value
"DatacardReport/Lifestyle's+New+American+Family"

This parameter has to be extracted by code in
index_01-AmFam.html.

I do it this way:
In the head section of the HTML is
<script type="text/javascript">
function qsobj(parm)
{
var qstring = document.location.search.substring(1)
var qpairs = qstring.split("&")
var qvbl = qpairs[parm].split("=")
return unescape(qvbl[1].replace("%20"," ").replace("+"," "))
}
var Path= qsobj(0)
</script>

The code can then do what it likes with Path, but intuitively it
points to
somewhere else

I think I do similar to what you want.

I have a page on my site "Picture Album" (named album.html) with
many
thumbnails. When you click on one it opens "picture.html" and
passes to it
parameters for the name of a jpg file, a caption, and some other
variables
for positioning the image.

Feel free to look at/take my code if it is of any use.
--
Cheers,
Trevor L., WIP (Web Interested Person)
Website: http://tandcl.homemail.com.au

spenn wrote:
<a
href="index_01-AmFam.html?Path=DatacardReport/Lifestyle's+New+American+Family">Lifestyle's
New America Family</a>
what does this do?
I thought that the Path can be pass to a different web page.
Can u do that?
And How?

I am trying to pass a path for a snapshot report to a web page
that
snapshot viewer built in.


:

I suppose you just create a normal hyperlink to the page with
this
snapshot viewer.....

I using a hyperlink to link to a web page and I need to pass
a path
through the hyperlink for the snapshot viewer. the snapshot
viewer
is on a different
web page.
can this be done?

How would I access the path once the hyperlink is working.


I choose Polesoft Lockspam to fight spam, and you?
http://www.polesoft.com/refer.html
 
Back
Top