PDA

View Full Version : preview frame



urgido
12-09-2005, 03:35 AM
Hi, I have the following code java script:

http://www.whatseek.net/js/prev.js <--- follow the url to see the code.

This code generates a quick view of a web page for major example go to http: // www.whatseek.net and look for any term, later you seen the result with a link that is called Quick View, and it is here where this code enters. Already I have proved it and have put it of the following way in my page:



<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Documento sin t&iacute;tulo</title>
<SCRIPT language=JavaScript
src="prev.js">
</SCRIPT>
</head>
<body>
dfdsfsdffdfdfdfdf<br>
Google -
<SCRIPT>ppreview('<module:url>','0')</SCRIPT>
<SCRIPT>potherfunctions('<module:url>',0, '')</SCRIPT>
<br>
yahoo -
<SCRIPT>ppreview('<module:url>','1')</SCRIPT>
<SCRIPT>potherfunctions('<module:url>',1, '')</SCRIPT>
<br>
misk -
<SCRIPT>ppreview('<module:url>','2')</SCRIPT>
<SCRIPT>potherfunctions('<module:url>',2, '')</SCRIPT>
<br>
wanan -
<SCRIPT>ppreview('<module:url>','3')</SCRIPT>
<SCRIPT>potherfunctions('<module:url>',3, '')</SCRIPT>
</body>


Up to this moment everything is OK, the problem arises why the variable <module:url> is the response to an URL of my site(place) web when someone play a search and therefore to be able to execute I need to generate numbers id's automatic and this one is my problem. If someone can to begin a hand would be grateful.

Regards

urgido
12-10-2005, 06:03 AM
:'( anybody?

Twey
12-10-2005, 11:09 AM
What is "<module:url>"? Are you using ColdFusion, JSP, or some other form of XML-based server-side language?

urgido
12-10-2005, 12:17 PM
i am using php and cgi and <module:url> is an alias of my search results. Look I have created a seeker for several sites(places) and i like to integrate the function that I have put like "up".

My intention is to create a similar quick view to whatseek.net. It uses to javascript code you see at www.whatseek.net/js/prev.js
Please help me :(. (for obtain an example search any term on whatseek.net and then you can view the option "Quick View").