|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Pasting code as plain text in FrontPage 2003I am trying to post a Weather.com module that displays the local current
weather on our home page. I've followed the directions to copy the code created by Weather.com and I've tried to paste it in code view on the page where I'd like it to show, but only the hyperlink shows in preview. What am I doing wrong? Try pasting the code into Notepad first, then copy it from there and paste
it into Code View in FrontPage. -- Show quote~ Kathleen Anderson Microsoft MVP - FrontPage Spider Web Woman Designs web: http://www.spiderwebwoman.com/resources/ Please reply to the newsgroup for the benefit of others. "ShellLeann" <ShellLe***@discussions.microsoft.com> wrote in message news:AB3FEB6E-BE0D-40B2-AEDA-4B391195EA30@microsoft.com... >I am trying to post a Weather.com module that displays the local current > weather on our home page. I've followed the directions to copy the code > created by Weather.com and I've tried to paste it in code view on the page > where I'd like it to show, but only the hyperlink shows in preview. What > am I > doing wrong? I did try that also. I spent about three hours yesterday trying everything I
could find on Google on the subject. It's a good thing my hair is long - I have lots to pull out! LJ Show quote "Kathleen Anderson [MVP - FrontPage]" wrote: > Try pasting the code into Notepad first, then copy it from there and paste > it into Code View in FrontPage. > > -- > > ~ Kathleen Anderson > Microsoft MVP - FrontPage > Spider Web Woman Designs > web: http://www.spiderwebwoman.com/resources/ > Please reply to the newsgroup for the benefit of others. > > > > "ShellLeann" <ShellLe***@discussions.microsoft.com> wrote in message > news:AB3FEB6E-BE0D-40B2-AEDA-4B391195EA30@microsoft.com... > >I am trying to post a Weather.com module that displays the local current > > weather on our home page. I've followed the directions to copy the code > > created by Weather.com and I've tried to paste it in code view on the page > > where I'd like it to show, but only the hyperlink shows in preview. What > > am I > > doing wrong? > > > Can you paste the code that Weather.com sent you here in a reply?
-- Show quote~ Kathleen Anderson Microsoft MVP - FrontPage Spider Web Woman Designs web: http://www.spiderwebwoman.com/resources/ Please reply to the newsgroup for the benefit of others. "ShellLeann" <ShellLe***@discussions.microsoft.com> wrote in message news:B51D5636-4289-4AF3-9509-A4E2FC0B95E5@microsoft.com... >I did try that also. I spent about three hours yesterday trying everything >I > could find on Google on the subject. It's a good thing my hair is long - I > have lots to pull out! > LJ > > "Kathleen Anderson [MVP - FrontPage]" wrote: > >> Try pasting the code into Notepad first, then copy it from there and >> paste >> it into Code View in FrontPage. >> >> -- >> >> ~ Kathleen Anderson >> Microsoft MVP - FrontPage >> Spider Web Woman Designs >> web: http://www.spiderwebwoman.com/resources/ >> Please reply to the newsgroup for the benefit of others. >> >> >> >> "ShellLeann" <ShellLe***@discussions.microsoft.com> wrote in message >> news:AB3FEB6E-BE0D-40B2-AEDA-4B391195EA30@microsoft.com... >> >I am trying to post a Weather.com module that displays the local current >> > weather on our home page. I've followed the directions to copy the code >> > created by Weather.com and I've tried to paste it in code view on the >> > page >> > where I'd like it to show, but only the hyperlink shows in preview. >> > What >> > am I >> > doing wrong? >> >> >> Here it is:
<div id="wx_module_9652"> <a href="http://www.weather.com/weather/local/USSC0239">Myrtle Beach Weather Forecast, SC</a></div><script type="text/javascript"> /* Locations can be edited manually by updating 'wx_locID' below. Please also update */ /* the location name and link in the above div (wx_module) to reflect any changes made. */ var wx_locID = 'USSC0239'; /* If you are editing locations manually and are adding multiple modules to one page, each */ /* module must have a unique div id. Please append a unique # to the div above, as well */ /* as the one referenced just below. If you use the builder to create individual modules */ /* you will not need to edit these parameters. */ var wx_targetDiv = 'wx_module_9652'; /* Please do not change the configuration value [wx_config] manually - your module */ /* will no longer function if you do. If at any time you wish to modify this */ /* configuration please use the graphical configuration tool found at */ /* https://registration.weather.com/ursa/wow/step2 */ var wx_config='SZ=300x250*WX=HUC*LNK=SSNL*UNT=F*BGI=seasonal2*MAP=CSC|null*DN=www.lubestars.com*TIER=0*PID=1036892939*MD5=ca1469d4b91491883f736b92a9bae232'; document.write('<scr'+'ipt src="'+document.location.protocol+'//wow.weather.com/weather/wow/module/'+wx_locID+'?config='+wx_config+'&proto='+document.location.protocol+'&target='+wx_targetDiv+'"></scr'+'ipt>');</script> Show quote "Kathleen Anderson [MVP - FrontPage]" wrote: > Can you paste the code that Weather.com sent you here in a reply? > > -- > > ~ Kathleen Anderson > Microsoft MVP - FrontPage > Spider Web Woman Designs > web: http://www.spiderwebwoman.com/resources/ > Please reply to the newsgroup for the benefit of others. > > > > > "ShellLeann" <ShellLe***@discussions.microsoft.com> wrote in message > news:B51D5636-4289-4AF3-9509-A4E2FC0B95E5@microsoft.com... > >I did try that also. I spent about three hours yesterday trying everything > >I > > could find on Google on the subject. It's a good thing my hair is long - I > > have lots to pull out! > > LJ > > > > "Kathleen Anderson [MVP - FrontPage]" wrote: > > > >> Try pasting the code into Notepad first, then copy it from there and > >> paste > >> it into Code View in FrontPage. > >> > >> -- > >> > >> ~ Kathleen Anderson > >> Microsoft MVP - FrontPage > >> Spider Web Woman Designs > >> web: http://www.spiderwebwoman.com/resources/ > >> Please reply to the newsgroup for the benefit of others. > >> > >> > >> > >> "ShellLeann" <ShellLe***@discussions.microsoft.com> wrote in message > >> news:AB3FEB6E-BE0D-40B2-AEDA-4B391195EA30@microsoft.com... > >> >I am trying to post a Weather.com module that displays the local current > >> > weather on our home page. I've followed the directions to copy the code > >> > created by Weather.com and I've tried to paste it in code view on the > >> > page > >> > where I'd like it to show, but only the hyperlink shows in preview. > >> > What > >> > am I > >> > doing wrong? > >> > >> > >> > > > Where is the opening script tag?
Show quote "ShellLeann" <ShellLe***@discussions.microsoft.com> wrote in message wx_config='SZ=300x250*WX=HUC*LNK=SSNL*UNT=F*BGI=seasonal2*MAP=CSC|null*DN=www.lubestars.com*TIER=0*PID=1036892939*MD5=ca1469d4b91491883f736b92a9bae232';news:D2BBE6C1-F91D-4647-907B-1D8B30283983@microsoft.com... | Here it is: | <div id="wx_module_9652"> <a | href="http://www.weather.com/weather/local/USSC0239">Myrtle Beach Weather | Forecast, SC</a></div><script type="text/javascript"> /* Locations can be | edited manually by updating 'wx_locID' below. Please also update */ /* the | location name and link in the above div (wx_module) to reflect any changes | made. */ var wx_locID = 'USSC0239'; /* If you are editing locations | manually and are adding multiple modules to one page, each */ /* module | must have a unique div id. Please append a unique # to the div above, as | well */ /* as the one referenced just below. If you use the builder to | create individual modules */ /* you will not need to edit these parameters. | */ var wx_targetDiv = 'wx_module_9652'; /* Please do not change the | configuration value [wx_config] manually - your module */ /* will no longer | function if you do. If at any time you wish to modify this */ /* | configuration please use the graphical configuration tool found at */ /* | https://registration.weather.com/ursa/wow/step2 */ var | | document.write('<scr'+'ipt src="'+document.location.protocol+'//wow.weather.com/weather/wow/module/'+wx_locID+'?config='+wx_config+'&proto='+document.location.protocol+'&target='+wx_targetDiv+'"></scr'+'ipt>');</script>| Show quote | | "Kathleen Anderson [MVP - FrontPage]" wrote: | | > Can you paste the code that Weather.com sent you here in a reply? | > | > -- | > | > ~ Kathleen Anderson | > Microsoft MVP - FrontPage | > Spider Web Woman Designs | > web: http://www.spiderwebwoman.com/resources/ | > Please reply to the newsgroup for the benefit of others. | > | > | > | > | > "ShellLeann" <ShellLe***@discussions.microsoft.com> wrote in message | > news:B51D5636-4289-4AF3-9509-A4E2FC0B95E5@microsoft.com... | > >I did try that also. I spent about three hours yesterday trying everything | > >I | > > could find on Google on the subject. It's a good thing my hair is long - I | > > have lots to pull out! | > > LJ | > > | > > "Kathleen Anderson [MVP - FrontPage]" wrote: | > > | > >> Try pasting the code into Notepad first, then copy it from there and | > >> paste | > >> it into Code View in FrontPage. | > >> | > >> -- | > >> | > >> ~ Kathleen Anderson | > >> Microsoft MVP - FrontPage | > >> Spider Web Woman Designs | > >> web: http://www.spiderwebwoman.com/resources/ | > >> Please reply to the newsgroup for the benefit of others. | > >> | > >> | > >> | > >> "ShellLeann" <ShellLe***@discussions.microsoft.com> wrote in message | > >> news:AB3FEB6E-BE0D-40B2-AEDA-4B391195EA30@microsoft.com... | > >> >I am trying to post a Weather.com module that displays the local current | > >> > weather on our home page. I've followed the directions to copy the code | > >> > created by Weather.com and I've tried to paste it in code view on the | > >> > page | > >> > where I'd like it to show, but only the hyperlink shows in preview. | > >> > What | > >> > am I | > >> > doing wrong? | > >> | > >> | > >> | > | > | > You'll have to bear with me. I'm clueless about all of this code. What is an
opening script tag? Show quote "Tom Willett" wrote: > Where is the opening script tag? > > -- > === > Tom Willett > Microsoft MVP - FrontPage > --- > FrontPage Support: > http://www.frontpagemvps.com/ > === > "ShellLeann" <ShellLe***@discussions.microsoft.com> wrote in message > news:D2BBE6C1-F91D-4647-907B-1D8B30283983@microsoft.com... > | Here it is: > | <div id="wx_module_9652"> <a > | href="http://www.weather.com/weather/local/USSC0239">Myrtle Beach Weather > | Forecast, SC</a></div><script type="text/javascript"> /* Locations can > be > | edited manually by updating 'wx_locID' below. Please also update */ /* > the > | location name and link in the above div (wx_module) to reflect any changes > | made. */ var wx_locID = 'USSC0239'; /* If you are editing locations > | manually and are adding multiple modules to one page, each */ /* module > | must have a unique div id. Please append a unique # to the div above, as > | well */ /* as the one referenced just below. If you use the builder to > | create individual modules */ /* you will not need to edit these > parameters. > | */ var wx_targetDiv = 'wx_module_9652'; /* Please do not change the > | configuration value [wx_config] manually - your module */ /* will no > longer > | function if you do. If at any time you wish to modify this */ /* > | configuration please use the graphical configuration tool found at */ /* > | https://registration.weather.com/ursa/wow/step2 */ var > | > wx_config='SZ=300x250*WX=HUC*LNK=SSNL*UNT=F*BGI=seasonal2*MAP=CSC|null*DN=www.lubestars.com*TIER=0*PID=1036892939*MD5=ca1469d4b91491883f736b92a9bae232'; > | document.write('<scr'+'ipt > | > src="'+document.location.protocol+'//wow.weather.com/weather/wow/module/'+wx_locID+'?config='+wx_config+'&proto='+document.location.protocol+'&target='+wx_targetDiv+'"></scr'+'ipt>');</script> > | > | "Kathleen Anderson [MVP - FrontPage]" wrote: > | > | > Can you paste the code that Weather.com sent you here in a reply? > | > > | > -- > | > > | > ~ Kathleen Anderson > | > Microsoft MVP - FrontPage > | > Spider Web Woman Designs > | > web: http://www.spiderwebwoman.com/resources/ > | > Please reply to the newsgroup for the benefit of others. > | > > | > > | > > | > > | > "ShellLeann" <ShellLe***@discussions.microsoft.com> wrote in message > | > news:B51D5636-4289-4AF3-9509-A4E2FC0B95E5@microsoft.com... > | > >I did try that also. I spent about three hours yesterday trying > everything > | > >I > | > > could find on Google on the subject. It's a good thing my hair is > long - I > | > > have lots to pull out! > | > > LJ > | > > > | > > "Kathleen Anderson [MVP - FrontPage]" wrote: > | > > > | > >> Try pasting the code into Notepad first, then copy it from there and > | > >> paste > | > >> it into Code View in FrontPage. > | > >> > | > >> -- > | > >> > | > >> ~ Kathleen Anderson > | > >> Microsoft MVP - FrontPage > | > >> Spider Web Woman Designs > | > >> web: http://www.spiderwebwoman.com/resources/ > | > >> Please reply to the newsgroup for the benefit of others. > | > >> > | > >> > | > >> > | > >> "ShellLeann" <ShellLe***@discussions.microsoft.com> wrote in message > | > >> news:AB3FEB6E-BE0D-40B2-AEDA-4B391195EA30@microsoft.com... > | > >> >I am trying to post a Weather.com module that displays the local > current > | > >> > weather on our home page. I've followed the directions to copy the > code > | > >> > created by Weather.com and I've tried to paste it in code view on > the > | > >> > page > | > >> > where I'd like it to show, but only the hyperlink shows in preview. > | > >> > What > | > >> > am I > | > >> > doing wrong? > | > >> > | > >> > | > >> > | > > | > > | > > > > The code works correctly. But you need to sort out the line endings.
See http://www.rxs-enterprises.org/tests/pages/myrtle_beach_weather_forecast.htm In View Source, note that some lines wrap onto several lines - these must be all on one line. I have marked these with "start here" and "end here" before and after the lines. -- Show quoteRon Symonds - Microsoft MVP (FrontPage) Reply only to group - emails will be deleted unread. FrontPage Support: http://www.frontpagemvps.com/ http://www.rxs-enterprises.org/fp "ShellLeann" <ShellLe***@discussions.microsoft.com> wrote in message news:D2BBE6C1-F91D-4647-907B-1D8B30283983@microsoft.com: > Here it is: > <div id="wx_module_9652"> <a > href="http://www.weather.com/weather/local/USSC0239">Myrtle Beach Weather > Forecast, SC</a></div><script type="text/javascript"> /* Locations can be > edited manually by updating 'wx_locID' below. Please also update */ /* the > location name and link in the above div (wx_module) to reflect any changes > made. */ var wx_locID = 'USSC0239'; /* If you are editing locations > manually and are adding multiple modules to one page, each */ /* module > must have a unique div id. Please append a unique # to the div above, as > well */ /* as the one referenced just below. If you use the builder to > create individual modules */ /* you will not need to edit these parameters. > */ var wx_targetDiv = 'wx_module_9652'; /* Please do not change the > configuration value [wx_config] manually - your module */ /* will no longer > function if you do. If at any time you wish to modify this */ /* > configuration please use the graphical configuration tool found at */ /* > https://registration.weather.com/ursa/wow/step2 */ var > wx_config='SZ=300x250*WX=HUC*LNK=SSNL*UNT=F*BGI=seasonal2*MAP=CSC|null*DN=www.lubestars.com*TIER=0*PID=1036892939*MD5=ca1469d4b91491883f736b92a9bae232'; > document.write('<scr'+'ipt > src="'+document.location.protocol+'//wow.weather.com/weather/wow/module/'+wx_locID+'?config='+wx_config+'&proto='+document.location.protocol+'&target='+wx_targetDiv+'"></scr'+'ipt>');</script> > > "Kathleen Anderson [MVP - FrontPage]" wrote: > > > Can you paste the code that Weather.com sent you here in a reply? > > > > -- > > > > ~ Kathleen Anderson > > Microsoft MVP - FrontPage > > Spider Web Woman Designs > > web: http://www.spiderwebwoman.com/resources/ > > Please reply to the newsgroup for the benefit of others. > > > > > > > > > > "ShellLeann" <ShellLe***@discussions.microsoft.com> wrote in message > > news:B51D5636-4289-4AF3-9509-A4E2FC0B95E5@microsoft.com... > > >I did try that also. I spent about three hours yesterday trying everything > > >I > > > could find on Google on the subject. It's a good thing my hair is long - I > > > have lots to pull out! > > > LJ > > > > > > "Kathleen Anderson [MVP - FrontPage]" wrote: > > > > > >> Try pasting the code into Notepad first, then copy it from there and > > >> paste > > >> it into Code View in FrontPage. > > >> > > >> -- > > >> > > >> ~ Kathleen Anderson > > >> Microsoft MVP - FrontPage > > >> Spider Web Woman Designs > > >> web: http://www.spiderwebwoman.com/resources/ > > >> Please reply to the newsgroup for the benefit of others. > > >> > > >> > > >> > > >> "ShellLeann" <ShellLe***@discussions.microsoft.com> wrote in message > > >> news:AB3FEB6E-BE0D-40B2-AEDA-4B391195EA30@microsoft.com... > > >> >I am trying to post a Weather.com module that displays the local current > > >> > weather on our home page. I've followed the directions to copy the code > > >> > created by Weather.com and I've tried to paste it in code view on the > > >> > page > > >> > where I'd like it to show, but only the hyperlink shows in preview. > > >> > What > > >> > am I > > >> > doing wrong? > > >> > > >> > > >> > > > > > > Ok, I did exactly what you said; everything which is supposed to be
continuously on one line is in place, I pasted in code view, and when I went to Preview, just the hyperlink is there again. No box or graphic, just one line of type "Myrtle Beach Weather Forecast". I know I've got some setting wrong or I'm clicking in the wrong spot or something. I just can't figure out what. LJ Show quote "Ronx" wrote: > The code works correctly. But you need to sort out the line endings. > See > http://www.rxs-enterprises.org/tests/pages/myrtle_beach_weather_forecast.htm > > In View Source, note that some lines wrap onto several lines - these > must be all on one line. I have marked these with "start here" and "end > here" before and after the lines. > -- > Ron Symonds - Microsoft MVP (FrontPage) > Reply only to group - emails will be deleted unread. > FrontPage Support: http://www.frontpagemvps.com/ > http://www.rxs-enterprises.org/fp > > > > "ShellLeann" <ShellLe***@discussions.microsoft.com> wrote in message > news:D2BBE6C1-F91D-4647-907B-1D8B30283983@microsoft.com: > > > Here it is: > > <div id="wx_module_9652"> <a > > href="http://www.weather.com/weather/local/USSC0239">Myrtle Beach Weather > > Forecast, SC</a></div><script type="text/javascript"> /* Locations can be > > edited manually by updating 'wx_locID' below. Please also update */ /* the > > location name and link in the above div (wx_module) to reflect any changes > > made. */ var wx_locID = 'USSC0239'; /* If you are editing locations > > manually and are adding multiple modules to one page, each */ /* module > > must have a unique div id. Please append a unique # to the div above, as > > well */ /* as the one referenced just below. If you use the builder to > > create individual modules */ /* you will not need to edit these parameters. > > */ var wx_targetDiv = 'wx_module_9652'; /* Please do not change the > > configuration value [wx_config] manually - your module */ /* will no longer > > function if you do. If at any time you wish to modify this */ /* > > configuration please use the graphical configuration tool found at */ /* > > https://registration.weather.com/ursa/wow/step2 */ var > > wx_config='SZ=300x250*WX=HUC*LNK=SSNL*UNT=F*BGI=seasonal2*MAP=CSC|null*DN=www.lubestars.com*TIER=0*PID=1036892939*MD5=ca1469d4b91491883f736b92a9bae232'; > > document.write('<scr'+'ipt > > src="'+document.location.protocol+'//wow.weather.com/weather/wow/module/'+wx_locID+'?config='+wx_config+'&proto='+document.location.protocol+'&target='+wx_targetDiv+'"></scr'+'ipt>');</script> > > > > "Kathleen Anderson [MVP - FrontPage]" wrote: > > > > > Can you paste the code that Weather.com sent you here in a reply? > > > > > > -- > > > > > > ~ Kathleen Anderson > > > Microsoft MVP - FrontPage > > > Spider Web Woman Designs > > > web: http://www.spiderwebwoman.com/resources/ > > > Please reply to the newsgroup for the benefit of others. > > > > > > > > > > > > > > > "ShellLeann" <ShellLe***@discussions.microsoft.com> wrote in message > > > news:B51D5636-4289-4AF3-9509-A4E2FC0B95E5@microsoft.com... > > > >I did try that also. I spent about three hours yesterday trying everything > > > >I > > > > could find on Google on the subject. It's a good thing my hair is long - I > > > > have lots to pull out! > > > > LJ > > > > > > > > "Kathleen Anderson [MVP - FrontPage]" wrote: > > > > > > > >> Try pasting the code into Notepad first, then copy it from there and > > > >> paste > > > >> it into Code View in FrontPage. > > > >> > > > >> -- > > > >> > > > >> ~ Kathleen Anderson > > > >> Microsoft MVP - FrontPage > > > >> Spider Web Woman Designs > > > >> web: http://www.spiderwebwoman.com/resources/ > > > >> Please reply to the newsgroup for the benefit of others. > > > >> > > > >> > > > >> > > > >> "ShellLeann" <ShellLe***@discussions.microsoft.com> wrote in message > > > >> news:AB3FEB6E-BE0D-40B2-AEDA-4B391195EA30@microsoft.com... > > > >> >I am trying to post a Weather.com module that displays the local current > > > >> > weather on our home page. I've followed the directions to copy the code > > > >> > created by Weather.com and I've tried to paste it in code view on the > > > >> > page > > > >> > where I'd like it to show, but only the hyperlink shows in preview. > > > >> > What > > > >> > am I > > > >> > doing wrong? > > > >> > > > >> > > > >> > > > > > > > > > > > What happens when you File | preview it in a browser?
Show quote "ShellLeann" <ShellLe***@discussions.microsoft.com> wrote in message http://www.rxs-enterprises.org/tests/pages/myrtle_beach_weather_forecast.htmnews:C54DA1BA-B1C2-42D1-950F-554F52AF000B@microsoft.com... | Ok, I did exactly what you said; everything which is supposed to be | continuously on one line is in place, I pasted in code view, and when I went | to Preview, just the hyperlink is there again. No box or graphic, just one | line of type "Myrtle Beach Weather Forecast". I know I've got some setting | wrong or I'm clicking in the wrong spot or something. I just can't figure out | what. | LJ | | "Ronx" wrote: | | > The code works correctly. But you need to sort out the line endings. | > See | > Show quote | > wx_config='SZ=300x250*WX=HUC*LNK=SSNL*UNT=F*BGI=seasonal2*MAP=CSC|null*DN=www.lubestars.com*TIER=0*PID=1036892939*MD5=ca1469d4b91491883f736b92a9bae232';| > In View Source, note that some lines wrap onto several lines - these | > must be all on one line. I have marked these with "start here" and "end | > here" before and after the lines. | > -- | > Ron Symonds - Microsoft MVP (FrontPage) | > Reply only to group - emails will be deleted unread. | > FrontPage Support: http://www.frontpagemvps.com/ | > http://www.rxs-enterprises.org/fp | > | > | > | > "ShellLeann" <ShellLe***@discussions.microsoft.com> wrote in message | > news:D2BBE6C1-F91D-4647-907B-1D8B30283983@microsoft.com: | > | > > Here it is: | > > <div id="wx_module_9652"> <a | > > href="http://www.weather.com/weather/local/USSC0239">Myrtle Beach Weather | > > Forecast, SC</a></div><script type="text/javascript"> /* Locations can be | > > edited manually by updating 'wx_locID' below. Please also update */ /* the | > > location name and link in the above div (wx_module) to reflect any changes | > > made. */ var wx_locID = 'USSC0239'; /* If you are editing locations | > > manually and are adding multiple modules to one page, each */ /* module | > > must have a unique div id. Please append a unique # to the div above, as | > > well */ /* as the one referenced just below. If you use the builder to | > > create individual modules */ /* you will not need to edit these parameters. | > > */ var wx_targetDiv = 'wx_module_9652'; /* Please do not change the | > > configuration value [wx_config] manually - your module */ /* will no longer | > > function if you do. If at any time you wish to modify this */ /* | > > configuration please use the graphical configuration tool found at */ /* | > > https://registration.weather.com/ursa/wow/step2 */ var | > > | > > document.write('<scr'+'ipt src="'+document.location.protocol+'//wow.weather.com/weather/wow/module/'+wx_locID+'?config='+wx_config+'&proto='+document.location.protocol+'&target='+wx_targetDiv+'"></scr'+'ipt>');</script>| > > Show quote | > > | > > "Kathleen Anderson [MVP - FrontPage]" wrote: | > > | > > > Can you paste the code that Weather.com sent you here in a reply? | > > > | > > > -- | > > > | > > > ~ Kathleen Anderson | > > > Microsoft MVP - FrontPage | > > > Spider Web Woman Designs | > > > web: http://www.spiderwebwoman.com/resources/ | > > > Please reply to the newsgroup for the benefit of others. | > > > | > > > | > > > | > > > | > > > "ShellLeann" <ShellLe***@discussions.microsoft.com> wrote in message | > > > news:B51D5636-4289-4AF3-9509-A4E2FC0B95E5@microsoft.com... | > > > >I did try that also. I spent about three hours yesterday trying everything | > > > >I | > > > > could find on Google on the subject. It's a good thing my hair is long - I | > > > > have lots to pull out! | > > > > LJ | > > > > | > > > > "Kathleen Anderson [MVP - FrontPage]" wrote: | > > > > | > > > >> Try pasting the code into Notepad first, then copy it from there and | > > > >> paste | > > > >> it into Code View in FrontPage. | > > > >> | > > > >> -- | > > > >> | > > > >> ~ Kathleen Anderson | > > > >> Microsoft MVP - FrontPage | > > > >> Spider Web Woman Designs | > > > >> web: http://www.spiderwebwoman.com/resources/ | > > > >> Please reply to the newsgroup for the benefit of others. | > > > >> | > > > >> | > > > >> | > > > >> "ShellLeann" <ShellLe***@discussions.microsoft.com> wrote in message | > > > >> news:AB3FEB6E-BE0D-40B2-AEDA-4B391195EA30@microsoft.com... | > > > >> >I am trying to post a Weather.com module that displays the local current | > > > >> > weather on our home page. I've followed the directions to copy the code | > > > >> > created by Weather.com and I've tried to paste it in code view on the | > > > >> > page | > > > >> > where I'd like it to show, but only the hyperlink shows in preview. | > > > >> > What | > > > >> > am I | > > > >> > doing wrong? | > > > >> | > > > >> | > > > >> | > > > | > > > | > > > | > | > My background, shared borders, link bar and header all disappear to a white
background. The same hyperlink is where the weather.com box should be. I feel like taking a crayon and coloring the box onto my screen just so I can see it :) I don't know what else to do. LJ Please post a link to the published page.
-- Show quoteRon Symonds - Microsoft MVP (FrontPage) Reply only to group - emails will be deleted unread. FrontPage Support: http://www.frontpagemvps.com/ http://www.rxs-enterprises.org/fp "ShellLeann" <ShellLe***@discussions.microsoft.com> wrote in message news:DBF57118-B22E-4465-9FA0-BEA5FED13407@microsoft.com: > My background, shared borders, link bar and header all disappear to a white > background. The same hyperlink is where the weather.com box should be. > I feel like taking a crayon and coloring the box onto my screen just so I > can see it :) > I don't know what else to do. > LJ That is correct, security in IE prevents any more showing since it comes
from an external web site. When published to a server the link is replaced by a box containing the link, as on my version of the page. -- Show quoteRon Symonds - Microsoft MVP (FrontPage) Reply only to group - emails will be deleted unread. FrontPage Support: http://www.frontpagemvps.com/ http://www.rxs-enterprises.org/fp "ShellLeann" <ShellLe***@discussions.microsoft.com> wrote in message news:C54DA1BA-B1C2-42D1-950F-554F52AF000B@microsoft.com: > Ok, I did exactly what you said; everything which is supposed to be > continuously on one line is in place, I pasted in code view, and when I went > to Preview, just the hyperlink is there again. No box or graphic, just one > line of type "Myrtle Beach Weather Forecast". I know I've got some setting > wrong or I'm clicking in the wrong spot or something. I just can't figure out > what. > LJ > > "Ronx" wrote: > > > The code works correctly. But you need to sort out the line endings. > > See > > http://www.rxs-enterprises.org/tests/pages/myrtle_beach_weather_forecast.htm > > > > In View Source, note that some lines wrap onto several lines - these > > must be all on one line. I have marked these with "start here" and "end > > here" before and after the lines. > > -- > > Ron Symonds - Microsoft MVP (FrontPage) > > Reply only to group - emails will be deleted unread. > > FrontPage Support: http://www.frontpagemvps.com/ > > http://www.rxs-enterprises.org/fp > > > > > > > > "ShellLeann" <ShellLe***@discussions.microsoft.com> wrote in message > > news:D2BBE6C1-F91D-4647-907B-1D8B30283983@microsoft.com: > > > > > Here it is: > > > <div id="wx_module_9652"> <a > > > href="http://www.weather.com/weather/local/USSC0239">Myrtle Beach Weather > > > Forecast, SC</a></div><script type="text/javascript"> /* Locations can be > > > edited manually by updating 'wx_locID' below. Please also update */ /* the > > > location name and link in the above div (wx_module) to reflect any changes > > > made. */ var wx_locID = 'USSC0239'; /* If you are editing locations > > > manually and are adding multiple modules to one page, each */ /* module > > > must have a unique div id. Please append a unique # to the div above, as > > > well */ /* as the one referenced just below. If you use the builder to > > > create individual modules */ /* you will not need to edit these parameters. > > > */ var wx_targetDiv = 'wx_module_9652'; /* Please do not change the > > > configuration value [wx_config] manually - your module */ /* will no longer > > > function if you do. If at any time you wish to modify this */ /* > > > configuration please use the graphical configuration tool found at */ /* > > > https://registration.weather.com/ursa/wow/step2 */ var > > > wx_config='SZ=300x250*WX=HUC*LNK=SSNL*UNT=F*BGI=seasonal2*MAP=CSC|null*DN=www.lubestars.com*TIER=0*PID=1036892939*MD5=ca1469d4b91491883f736b92a9bae232'; > > > document.write('<scr'+'ipt > > > src="'+document.location.protocol+'//wow.weather.com/weather/wow/module/'+wx_locID+'?config='+wx_config+'&proto='+document.location.protocol+'&target='+wx_targetDiv+'"></scr'+'ipt>');</script> > > > > > > "Kathleen Anderson [MVP - FrontPage]" wrote: > > > > > > > Can you paste the code that Weather.com sent you here in a reply? > > > > > > > > -- > > > > > > > > ~ Kathleen Anderson > > > > Microsoft MVP - FrontPage > > > > Spider Web Woman Designs > > > > web: http://www.spiderwebwoman.com/resources/ > > > > Please reply to the newsgroup for the benefit of others. > > > > > > > > > > > > > > > > > > > > "ShellLeann" <ShellLe***@discussions.microsoft.com> wrote in message > > > > news:B51D5636-4289-4AF3-9509-A4E2FC0B95E5@microsoft.com... > > > > >I did try that also. I spent about three hours yesterday trying everything > > > > >I > > > > > could find on Google on the subject. It's a good thing my hair is long - I > > > > > have lots to pull out! > > > > > LJ > > > > > > > > > > "Kathleen Anderson [MVP - FrontPage]" wrote: > > > > > > > > > >> Try pasting the code into Notepad first, then copy it from there and > > > > >> paste > > > > >> it into Code View in FrontPage. > > > > >> > > > > >> -- > > > > >> > > > > >> ~ Kathleen Anderson > > > > >> Microsoft MVP - FrontPage > > > > >> Spider Web Woman Designs > > > > >> web: http://www.spiderwebwoman.com/resources/ > > > > >> Please reply to the newsgroup for the benefit of others. > > > > >> > > > > >> > > > > >> > > > > >> "ShellLeann" <ShellLe***@discussions.microsoft.com> wrote in message > > > > >> news:AB3FEB6E-BE0D-40B2-AEDA-4B391195EA30@microsoft.com... > > > > >> >I am trying to post a Weather.com module that displays the local current > > > > >> > weather on our home page. I've followed the directions to copy the code > > > > >> > created by Weather.com and I've tried to paste it in code view on the > > > > >> > page > > > > >> > where I'd like it to show, but only the hyperlink shows in preview. > > > > >> > What > > > > >> > am I > > > > >> > doing wrong? > > > > >> > > > > >> > > > > >> > > > > > > > > > > > > > > > > You're completely right. Thank you so much. I'll learn this stuff eventually.
LJ Show quote "Ronx" wrote: > That is correct, security in IE prevents any more showing since it comes > from an external web site. When published to a server the link is > replaced by a box containing the link, as on my version of the page. > -- > Ron Symonds - Microsoft MVP (FrontPage) > Reply only to group - emails will be deleted unread. > FrontPage Support: http://www.frontpagemvps.com/ > http://www.rxs-enterprises.org/fp > > > > "ShellLeann" <ShellLe***@discussions.microsoft.com> wrote in message > news:C54DA1BA-B1C2-42D1-950F-554F52AF000B@microsoft.com: > > > Ok, I did exactly what you said; everything which is supposed to be > > continuously on one line is in place, I pasted in code view, and when I went > > to Preview, just the hyperlink is there again. No box or graphic, just one > > line of type "Myrtle Beach Weather Forecast". I know I've got some setting > > wrong or I'm clicking in the wrong spot or something. I just can't figure out > > what. > > LJ > > > > "Ronx" wrote: > > > > > The code works correctly. But you need to sort out the line endings. > > > See > > > http://www.rxs-enterprises.org/tests/pages/myrtle_beach_weather_forecast.htm > > > > > > In View Source, note that some lines wrap onto several lines - these > > > must be all on one line. I have marked these with "start here" and "end > > > here" before and after the lines. > > > -- > > > Ron Symonds - Microsoft MVP (FrontPage) > > > Reply only to group - emails will be deleted unread. > > > FrontPage Support: http://www.frontpagemvps.com/ > > > http://www.rxs-enterprises.org/fp > > > > > > > > > > > > "ShellLeann" <ShellLe***@discussions.microsoft.com> wrote in message > > > news:D2BBE6C1-F91D-4647-907B-1D8B30283983@microsoft.com: > > > > > > > Here it is: > > > > <div id="wx_module_9652"> <a > > > > href="http://www.weather.com/weather/local/USSC0239">Myrtle Beach Weather > > > > Forecast, SC</a></div><script type="text/javascript"> /* Locations can be > > > > edited manually by updating 'wx_locID' below. Please also update */ /* the > > > > location name and link in the above div (wx_module) to reflect any changes > > > > made. */ var wx_locID = 'USSC0239'; /* If you are editing locations > > > > manually and are adding multiple modules to one page, each */ /* module > > > > must have a unique div id. Please append a unique # to the div above, as > > > > well */ /* as the one referenced just below. If you use the builder to > > > > create individual modules */ /* you will not need to edit these parameters. > > > > */ var wx_targetDiv = 'wx_module_9652'; /* Please do not change the > > > > configuration value [wx_config] manually - your module */ /* will no longer > > > > function if you do. If at any time you wish to modify this */ /* > > > > configuration please use the graphical configuration tool found at */ /* > > > > https://registration.weather.com/ursa/wow/step2 */ var > > > > wx_config='SZ=300x250*WX=HUC*LNK=SSNL*UNT=F*BGI=seasonal2*MAP=CSC|null*DN=www.lubestars.com*TIER=0*PID=1036892939*MD5=ca1469d4b91491883f736b92a9bae232'; > > > > document.write('<scr'+'ipt > > > > src="'+document.location.protocol+'//wow.weather.com/weather/wow/module/'+wx_locID+'?config='+wx_config+'&proto='+document.location.protocol+'&target='+wx_targetDiv+'"></scr'+'ipt>');</script> > > > > > > > > "Kathleen Anderson [MVP - FrontPage]" wrote: > > > > > > > > > Can you paste the code that Weather.com sent you here in a reply? > > > > > > > > > > -- > > > > > > > > > > ~ Kathleen Anderson > > > > > Microsoft MVP - FrontPage > > > > > Spider Web Woman Designs > > > > > web: http://www.spiderwebwoman.com/resources/ > > > > > Please reply to the newsgroup for the benefit of others. > > > > > > > > > > > > > > > > > > > > > > > > > "ShellLeann" <ShellLe***@discussions.microsoft.com> wrote in message > > > > > news:B51D5636-4289-4AF3-9509-A4E2FC0B95E5@microsoft.com... > > > > > >I did try that also. I spent about three hours yesterday trying everything > > > > > >I > > > > > > could find on Google on the subject. It's a good thing my hair is long - I > > > > > > have lots to pull out! > > > > > > LJ > > > > > > > > > > > > "Kathleen Anderson [MVP - FrontPage]" wrote: > > > > > > > > > > > >> Try pasting the code into Notepad first, then copy it from there and > > > > > >> paste > > > > > >> it into Code View in FrontPage. > > > > > >> > > > > > >> -- > > > > > >> > > > > > >> ~ Kathleen Anderson > > > > > >> Microsoft MVP - FrontPage > > > > > >> Spider Web Woman Designs > > > > > >> web: http://www.spiderwebwoman.com/resources/ > > > > > >> Please reply to the newsgroup for the benefit of others. > > > > > >> > > > > > >> > > > > > >> > > > > > >> "ShellLeann" <ShellLe***@discussions.microsoft.com> wrote in message > > > > > >> news:AB3FEB6E-BE0D-40B2-AEDA-4B391195EA30@microsoft.com... > > > > > >> >I am trying to post a Weather.com module that displays the local current > > > > > >> > weather on our home page. I've followed the directions to copy the code > > > > > >> > created by Weather.com and I've tried to paste it in code view on the > > > > > >> > page > > > > > >> > where I'd like it to show, but only the hyperlink shows in preview. > > > > > >> > What > > > > > >> > am I > > > > > >> > doing wrong? > > > > > >> > > > > > >> > > > > > >> > > > > > > > > > > > > > > > > > > > > > > > Here's the way I always recommend for stuff like weather.com, eBay stuff,
paypal, Google, etc. Set your cursor where you want the item to be. click insert/ web component/ advanced control/ HTML. paste your code into that HTML Mark-up box. not only will it go in as plain text, it'll remain "protected" from FrontPage trying to fix it. HTH -- Show quoteChris Leeds Contact: http://chrisleeds.com/contact Have you seen ContentSeed (www.contentseed.com)? NOTE: This message was posted from an unmonitored email account. This is an unfortunate necessity due to high volumes of spam sent to email addresses in public newsgroups. Sorry for any inconvenience. "ShellLeann" <ShellLe***@discussions.microsoft.com> wrote in message news:AB3FEB6E-BE0D-40B2-AEDA-4B391195EA30@microsoft.com... >I am trying to post a Weather.com module that displays the local current > weather on our home page. I've followed the directions to copy the code > created by Weather.com and I've tried to paste it in code view on the page > where I'd like it to show, but only the hyperlink shows in preview. What > am I > doing wrong? |
|||||||||||||||||||||||