Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

does anybody know what this does <!-- saved from url

Status
Not open for further replies.

dfrankel

Programmer
Apr 23, 2002
19
US
I saved a web site and it added this line of code with the URL of the web site I was saving from. I thought it was a comment and when I deleted it, the top frames functionality didn't work quite right. The images were gone.

Daniel
 
>> I thought it was a comment

It is. Specifically it is the start of a comment.

Code:
<!-- my comment goes here -->

-pete
I just can't seem to get back my IntelliSense
 
But it's not just a comment because when a dleted part of the url that was in the comment the site didn't function properly.
 
>> when a dleted part of the url that was in the comment

post that fragment of code

-pete
I just can't seem to get back my IntelliSense
 
Ok... i pasted that comment into a web page and it loaded fine

>> When I removed part of the URL the page didn't load properly.

Does that mean you did not post the code that breaks the page? [bugeyed]

-pete
I just can't seem to get back my IntelliSense
 
I actually tried it on a test page. I saved another site and removed that line completey. The new site that I saved loaded up fine. I don't know why. Perhaps the site I saved from was a .asp I don't know.

Daniel
 
I saved a web site and it added this line of code with the URL of the web site I was saving from.

Thief [noevil]

From your description in the first post, it sounds like the comment somehow worked the same as a BASE HREF tag, that would explain why the images stopped showing after this was deleted.

Hope this helps


Wullie


The pessimist complains about the wind. The optimist expects it to change.
The leader adjusts the sails. - John Maxwell
 
[roll2] [flush] [cry]

-pete
I just can't seem to get back my IntelliSense
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top