Jump to content

Having two urls in <iframe> one internal the other external


jessica.morgana
 Share

Recommended Posts

Hi Everyone,

 

Probably a dumb question here, but I need to insert a url into an <iframe> and can do this successfully. The url that I am pointing to however is a little strange. The url when we are accessed in our organisation's network is something like http://servername/eservice however should you need to access the exact same page out of our organisation's network it is http://ecityname.rockingham.wa.gov.au/eservice/ . I would like to have in the <iframe> text the ability to show either of these based on what it can bring up (depending if you are in the network or not). I guess it would be a 'or' statement of sort.

 

I am not sure if this can happen so any comments or suggestions would be great!

Link to comment
Share on other sites

Why not use the external URL all the time? It should work even if you're inside the network. If you can do that, it's much better than any other solution. Other solutions are complicated and less reliable.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...