Digital Point Forums
Wire Transfer

Go Back   Digital Point Forums > Design & Development > Programming > JavaScript
Google Analytics
Log In to view
your analytics

Reply
 
Thread Tools
  #1  
Old Jul 9th 2004, 8:35 am
Help Desk's Avatar
Help Desk Help Desk is offline
of the Nightfall
 
Join Date: Apr 2004
Posts: 1,333
Help Desk will become famous soon enough
Javascript Question

Is there a way to get javascript to display the contents of another page in the same window?
__________________
Rent Video Games - Christmas -

What is your ?
Reply With Quote
  #2  
Old Jul 9th 2004, 9:38 am
Help Desk's Avatar
Help Desk Help Desk is offline
of the Nightfall
 
Join Date: Apr 2004
Posts: 1,333
Help Desk will become famous soon enough
Let me answer my own question...

Yes if you don't mind those contents being shown in an iframe.
__________________
Rent Video Games - Christmas -

What is your ?
Reply With Quote
  #3  
Old Jul 9th 2004, 9:59 am
Will.Spencer's Avatar
Will.Spencer Will.Spencer is offline
NetBuilder
 
Join Date: Apr 2004
Location: Singapore
Posts: 11,903
Will.Spencer has a reputation beyond reputeWill.Spencer has a reputation beyond reputeWill.Spencer has a reputation beyond reputeWill.Spencer has a reputation beyond reputeWill.Spencer has a reputation beyond reputeWill.Spencer has a reputation beyond reputeWill.Spencer has a reputation beyond reputeWill.Spencer has a reputation beyond reputeWill.Spencer has a reputation beyond reputeWill.Spencer has a reputation beyond reputeWill.Spencer has a reputation beyond repute
Mmm... please post your solution.

I have the same question, except with PHP instead of JavaScript.
Reply With Quote
  #4  
Old Jul 9th 2004, 2:05 pm
l0cke's Avatar
l0cke l0cke is offline
Champion of the Naaru
 
Join Date: Mar 2004
Location: NB, Canada
Posts: 178
l0cke is on a distinguished road
Quote:
Originally Posted by Will.Spencer
Mmm... please post your solution.

I have the same question, except with PHP instead of JavaScript.
You can easily read files/url's with PHP - there should be many examples at hotscripts.com. JavaScript only allows reading of files via ActiveX which requires the client to have Windows Scripting Host installed. Also the only way for JavaScript to read url's is if the client has the Microsoft XML DOM installed.
Reply With Quote
  #5  
Old Jul 9th 2004, 2:20 pm
schlottke schlottke is offline
of the Nightfall
 
Join Date: Mar 2004
Location: Minneapolis, MN
Posts: 2,164
schlottke will become famous soon enough
php.resourceindex.com
hotscripts.com

both should help you find what you are looking for.
__________________
Affiliate Marketing Tips | Tooth Whitening | |
Reply With Quote
  #6  
Old Jul 12th 2004, 6:38 am
Help Desk's Avatar
Help Desk Help Desk is offline
of the Nightfall
 
Join Date: Apr 2004
Posts: 1,333
Help Desk will become famous soon enough
Quote:
Originally Posted by Will.Spencer
Mmm... please post your solution...
The only solution was to have use an inline frame to show the target HTML page. It's what Google does with their Ad Sense Ads so it should be good enough.
__________________
Rent Video Games - Christmas -

What is your ?
Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Googlebot/Test Spider Getting External JavaScript Files digitalpoint Google 18 Nov 11th 2008 11:10 pm
JavaScript vs. PHP links digitalpoint PHP 9 Jan 23rd 2008 1:47 am
Help Needed on Converting specific javascript commands to php such as math.random() ProductivePC PHP 4 Jun 6th 2004 3:34 am
Search Engine Script Question irish_ladie All Other Tools 3 Mar 24th 2004 9:36 pm


All times are GMT -8. The time now is 4:25 am.