how to know the parent web page in webspeed??

alok_mits

New Member
Hi,

I am calling a html page "a.html" from two differeant places .

1. it is getting called from b.html and
2. from menu item( not directly from html).

Now how to make sure that whether a.html is getting called from b.html.

i have tried with the program-name() function and http_referer function, but it seems i am not able to figured it out.

Waitng for any suggestion

With Regards
 
is it possible to and an extra query parameter to the end of the URL and then get that value

Example:
From witin the b.html page <a href="a.html?source=`url-encode(program-name(1))`">The A Page</a>
and from the menu have <a href="a.html?source=`url-encode(program-name(1))`">The A Page</a>

so from within your a.html have the following code:

Code:
<script language="SpeedScript">
case get-value('source'):
when 'memu.html' then
 /*something go's here...*/
when 'b.html' then
 /*something else go's here...*/
otherwise
  /*do something completely different*/
</script>

Hope this helps.
 
WebSpeed Simulator helps you design more efficient web pages by previewing your web page at the speed of real world dial-up connections. Errors that are not visible during design, are readily identified. You can preview your web site design off-line and simulate any connection speed efficiently. This especially useful for Flash and Java applet design allowing you to see how preloading and streaming are working.




___________________________________________________________________________________________
Want to get-on Google's first page and loads of traffic to your website? Hire a SEO Specialist from Ocean Groups seo pecialist
 
Back
Top