Results 1 to 2 of 2

Thread: Hide link from address bar

  1. #1
    Join Date
    Mar 2008
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Hide link from address bar

    Hello, This is my first question in this forum.
    I want to know, If our default link is www.abc.com, and when we'll clicked on any link, then the page should change as per the link, also address bar link changed from www.abc.com to www.abc.com/somelink.php.
    So I dn't want to change the address bar link, it should be the same www.abc.com, only page will reflect to that location.

    Thanks In Advance.
    Parag

  2. #2
    Join Date
    Sep 2005
    Location
    India
    Posts
    1,627
    Thanks
    6
    Thanked 107 Times in 107 Posts

    Default

    You can do this either by using a server-side approach or by using IFrames. Here you can find an IFrame based demo page:

    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    	<head>
    		<title> </title>
    		<style type="text/css">
    		
    		</style>
    		<script type="text/javascript">
    		
    		</script>
    	</head>
    	<body>
    		<div>
    			<iframe frameborder="0" width="100%" height="1200px" src="http://search.a1books.com/cgi-bin/mktSearch?act=showDesc&code=gbase&rel=1&ITEM_CODE=0596008570"></iframe>
    		</div>
    	</body>
    </html>
    But Iframes has their own share of problems too.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •