|
| |
|
|
dschultz
Posts: 25 Joined: 5/15/2003 Status: offline
|
Pop-Up Interactive Slide Show - 10/22/2003 16:55:45
I want to create a link on my site that creates a pop-up window with a slide show that is very simple. About 10 photos, a "Next Picture" and "Previous Picture" button and my corporate logo. Should I use a script? Help me here please. Thanks!!!!!!!! Dan
|
|
|
|
Long Island Lune
Posts: 2340 Joined: 6/8/2002 From: New York Status: offline
|
RE: Pop-Up Interactive Slide Show - 10/22/2003 17:32:24
Here's the link code: Create a Pop-Up using a Hyperlink on your page: A- Place a word or sentence that you want to use as a link on your page. B- Select the word or sentence so it is highlighted. C- Right-click your mouse and select [Hyperlink]. D- Click [OK] in the Hyperlink dialog box. You now have a linkless link. E- With the hyperlink selected, click the [HTML] tab at the bottom of the FP screen. You will see a code snipit similar to the following highlighted for you. <a href= "http://">This is MY Hyperlink</a> It might be inside other code. What you want to do is replace the <a href= "http://" segment with the following (in red): <a href="#" onClick="MyWindow=window.open('MYpopupPAGE.asp','MyWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=420,height=628'); return false;">This is MY Hyperlink</a> Make sure you change the “‘MypopupPAGE.asp’” with the page you want to appear in the pop-up window. Leave the remaining code around it alone. This will give you the link with a pop-up window. Now just place your slideshow code in the page that pops up.
< Message edited by Long Island Lune -- 11/9/2003 4:03:35 PM >
_____________________________
|
|
|
|
Long Island Lune
Posts: 2340 Joined: 6/8/2002 From: New York Status: offline
|
RE: Pop-Up Interactive Slide Show - 10/23/2003 12:14:33
You drop the code in on the page that has the link. You put you slide show on the page you want to popup. To create an ASP page is easy: 1): Have FP generate a new page for you. 2): Save the page. When you give it a name, just change the extension to .asp. Example: Testpage1.asp. FP will prompt you that it is a different file extension. Except it anyway and save the page. Now you have the asp page. Drop to POPUP WINDOW SCRIPT I gave you on top of the page above the <HTML> tag. Put the link on that page too. That will give you the link on your page to click, and the popup window that will popup blank. The window that pops up is just a standard FP page in your sites page list. You would click on that to load the window into FP, then place the slide show code there. Now when you test it, you first page will contain the link, you click on it, the second page with the slideshow code will appear in the popup window. Is this slideshow from another tool or is it created in FP?
_____________________________
|
|
|
|
Long Island Lune
Posts: 2340 Joined: 6/8/2002 From: New York Status: offline
|
RE: Pop-Up Interactive Slide Show - 10/23/2003 13:34:45
What version of FP are you using?
_____________________________
|
|
|
|
Long Island Lune
Posts: 2340 Joined: 6/8/2002 From: New York Status: offline
|
RE: Pop-Up Interactive Slide Show - 10/29/2003 15:38:07
If you can't create a linkless link, no problem. Create any link you want. It does not matter. You will be replacing whatever you created with FP anyway when you change the code it generated with this: <a href="#" onClick="MyWindow=window.open('MYpopupPAGE.asp','MyWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=420,height=628'); return false;">This is MY Hyperlink</a>
< Message edited by Long Island Lune -- 10/29/2003 3:38:57 PM >
_____________________________
|
|
|
|
Long Island Lune
Posts: 2340 Joined: 6/8/2002 From: New York Status: offline
|
RE: Pop-Up Interactive Slide Show - 10/30/2003 15:22:19
Dan, I just pulled your address out of the hyperlink line and placed it directly into IE 6: http://www.flagsource.com/slideshow.asp The box still pops up. The problem might not be in the link itself. I think it's the page. What is on the slideshow.asp page? There has to be something on it that is causing IE to think that there is a download.
_____________________________
|
|
|
|
dschultz
Posts: 25 Joined: 5/15/2003 Status: offline
|
RE: Pop-Up Interactive Slide Show - 10/30/2003 15:39:18
Triple G: I'm on my way out of the office now - gone for the weekend. I'll get back at it Monday. The .asp page however has nothing on it. Just a blank page with the top header. -D
|
|
|
|
Long Island Lune
Posts: 2340 Joined: 6/8/2002 From: New York Status: offline
|
RE: Pop-Up Interactive Slide Show - 10/30/2003 15:39:22
Dan, I did another test. I pulled your adddress out of this line: <a href="#" onClick="MyWindow=window.open('http://www.flagsource.com/slideshow.asp','MyWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=420,height=628'); return false;"> Slideshow</a> ... and replaced it with one of my addresses. It worked OK. So the problem appears to be in your .asp page. If you can't find the problem - Post the page. Mark I'm out of here. I'll be back in about 2 hours.
_____________________________
|
|
|
|
Long Island Lune
Posts: 2340 Joined: 6/8/2002 From: New York Status: offline
|
RE: Pop-Up Interactive Slide Show - 10/30/2003 15:40:18
We'll pick it up on Monday. On Monday post the .asp page for me. Thanks.
_____________________________
|
|
|
|
dschultz
Posts: 25 Joined: 5/15/2003 Status: offline
|
RE: Pop-Up Interactive Slide Show - 11/3/2003 9:17:04
Here is the enitre HTML coding from the .asp page. Thanks for your help. -Dan <script TYPE="text/javascript"> <!-- function popupform(myform, windowname) { if (! window.focus)return true; window.open('slideshow.asp', windowname, 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no, width=420,height=628'); myform.target=windowname; return true; } //--> </script> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <meta name="GENERATOR" content="Microsoft FrontPage 5.0"> <meta name="ProgId" content="FrontPage.Editor.Document"> <meta name="Microsoft Theme" content="global 101, default"> <meta name="Microsoft Border" content="tb, default"> </head> <body> <p align="center"><br> <font face="Verdana"><b>Slideshow Coming Soon!!!</b></font><br> </p> </body></html>
|
|
|
|
Long Island Lune
Posts: 2340 Joined: 6/8/2002 From: New York Status: offline
|
RE: Pop-Up Interactive Slide Show - 11/3/2003 13:56:28
Remove everything from your pop-up .asp page. The only code that should be on that page is the following: <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <meta name="GENERATOR" content="Microsoft FrontPage 5.0"> <meta name="ProgId" content="FrontPage.Editor.Document"> <meta name="Microsoft Theme" content="global 101, default"> <meta name="Microsoft Border" content="tb, default"> </head> <body> <p align="center"> <br> <font face="Verdana"> <b> Slideshow Coming Soon!!! </b> </font> </p> </body> </html> Now the page is empty except for a single sentence. The page should pop-up in both computers now. Give that a try. Let me know what happened.
< Message edited by Long Island Lune -- 11/3/2003 1:58:56 PM >
_____________________________
|
|
|
|
Long Island Lune
Posts: 2340 Joined: 6/8/2002 From: New York Status: offline
|
RE: Pop-Up Interactive Slide Show - 11/4/2003 12:23:17
Did that help?
_____________________________
|
|
|
|
dschultz
Posts: 25 Joined: 5/15/2003 Status: offline
|
RE: Pop-Up Interactive Slide Show - 11/5/2003 16:05:36
Triple G: I removed the javascript snipit and still no go. Here is the entire code (minus the snipit) from the page I'm attempting to get the pop-up from. <html> <head> <title>What's New</title> <meta name="GENERATOR" content="Microsoft FrontPage 5.0"> <meta name="Microsoft Border" content="tb"> </head> <body topmargin="0" bgcolor="#FFFFFF"> <div align="center"><center> <table border="0" width="67%"> <tr> <td width="50%" align="center"><p align="center"><font face="Garamond" size="5" color="#FF0000"><strong><em>Latest News & Activities</em></strong></font></td> <td width="50%" align="center"> <img src="2001/lowres/henry.jpg" alt="henry.jpg (16436 bytes)" width="142" height="139"></td> </tr> </table> </center></div> <div align="center"> <center> <table border="2" cellspacing="1" bordercolor="#0000FF" width="55%"> <tr> <td width="100%" align="center"> <b><i><a href="#" onClick="MyWindow=window.open('http://www.flagsource.com/flagslideshow.asp','MyWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=420,height=628'); return false;">46 <font face="Verdana">x</font> 80' U.S. Flag Slideshow</a></i></b></td> </tr> <tr> <td width="100%" align="center"><em><strong> <a href="patriotdaydesignated.htm">Patriot Day Observed</a></strong></em></td> </tr> <tr> <td width="100%" align="center"><em><strong><a href="supportamerica.htm"> Made Only In America</a></strong></em></td> </tr> <tr> <td width="100%" align="center"><em><strong> <a href="illinoisflagmonth.htm">American Flag Month In Illinois</a></strong></em></td> </tr> </table> </center> </div> <p align="center"><i><b>Click an above headline to view the story</b></i></p> <p align="center"><a target="_blank" href="2003/WBEcertified.jpg"> <img border="0" src="2003/WBELOGO2.jpg" width="87" height="85" alt="Women's Business Enterprises Certificate"></a><br> </p> </body> </html> Thanks for you help!! You ROCK! -Dan
|
|
|
|
Long Island Lune
Posts: 2340 Joined: 6/8/2002 From: New York Status: offline
|
RE: Pop-Up Interactive Slide Show - 11/5/2003 17:36:08
Hey Dan, Thanks for the code. All looks funky. Here's a test: 1): Take your address: http://www.flagsource.com/flagslideshow.asp 2): Cut and copy it to your Windows clipboard. 3): Open Windows Explorer. 4): Paste the address http://www.flagsource.com/flagslideshow.asp into the URL line. 5): Click [Go]. Notice the popup box for a download? This is why I say it can't be the link page. It has to be in the flagslideshow.asp page. Now the question is WHY? We need to do another test: 1): Load-in the slideshow.asp page into FP2002. 2): Click your HTML View tab. 3): Erase everything on that page. 4): Replace it with this: <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <meta name="GENERATOR" content="Microsoft FrontPage 4.0"> <meta name="ProgId" content="FrontPage.Editor.Document"> </head> <body> <br> <p align="center"> <b> Slideshow Coming Soon!!! </b> </p> </body> </html> 5): Save the page. 6): Upload to your server. 7): Test it and let me know what happened.
_____________________________
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|