Results 1 to 4 of 4

Thread: preview frame

  1. #1
    Join Date
    Dec 2005
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default preview frame

    Hi, I have the following code java script:
    Code:
    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:

    PHP Code:
    <!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
    Last edited by urgido; 12-09-2005 at 03:57 AM.

  2. #2
    Join Date
    Dec 2005
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    :'( anybody?

  3. #3
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    What is "<module:url>"? Are you using ColdFusion, JSP, or some other form of XML-based server-side language?
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  4. #4
    Join Date
    Dec 2005
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Unhappy

    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").

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •