need help with Javascript

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

need help with Javascript

David Newyear

Sorry, I wasn’t clear. I’d like a new window to open automatically, without the user clicking on a link. Is there a way to do this in aiml?

 

Thanks


_______________________________________________
This is the pandorabots-general mailing list
To Post, reply to [hidden email]
Unsubscribe and change preferences at http://list.pandorabots.com/mailman/listinfo/pandorabots-general
Learn netiquette at http://www.dtcc.edu/cs/rfc1855.html
Learn to read at http://www.literacy.org/
Reply | Threaded
Open this post in threaded view
|

Re: need help with Javascript

R. B. Chandler
This works for creating a window inside a bot response.
<category>
        <pattern>THE FROG PRINCESS</pattern>
        <template>
            Here is the story you requested. I hope you enjoy it.
            <p/>
            <iframe
                Name = "iframe"
                src = "http://www.shipscomputer.galacticenterprise.com/Story3.html"
                marginwidth = "0"
                marginheight = "0"
                scrolling = "yes"
                Width = "615"
                height = "465"
                frameborder = "0">
            </iframe>
        </template>
    </category>
 

I'm guessing that something like this might work for what you want.
    <category>
        <pattern>THE FROG PRINCESS</pattern>
        <template>
            Here is the story of the <a target="_blank" href="http://www.shipscomputer.galacticenterprise.com/Story3.html"
>Frog Princess
</a>. I hope you enjoy it.
        </template>
    </category>


 

Personal Companion Android
Companionship On Any Level You Desire
 
 
 



 



From: [hidden email]
To: [hidden email]
Date: Wed, 25 Aug 2010 11:54:11 -0400
Subject: [pandorabots-general] need help with Javascript

Sorry, I wasn’t clear. I’d like a new window to open automatically, without the user clicking on a link. Is there a way to do this in aiml?

 

Thanks


_______________________________________________ This is the pandorabots-general mailing list To Post, reply to [hidden email] Unsubscribe and change preferences at http://list.pandorabots.com/mailman/listinfo/pandorabots-general Learn netiquette at http://www.dtcc.edu/cs/rfc1855.html Learn to read at http://www.literacy.org/
_______________________________________________
This is the pandorabots-general mailing list
To Post, reply to [hidden email]
Unsubscribe and change preferences at http://list.pandorabots.com/mailman/listinfo/pandorabots-general
Learn netiquette at http://www.dtcc.edu/cs/rfc1855.html
Learn to read at http://www.literacy.org/