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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hide URL

Status
Not open for further replies.

pathetic

Programmer
Dec 3, 2004
74
US
Is there a method to not display a page URL?
 
Why would you want it not to display an url? I'm curious as to what the real issue is.
 
Are you trying to hide the url in the Address bar (up top) or the "status bar" (bottom of browser)?

Address bar: stuff the page in a frame or <cfinclude> in aonther page.

Status bar: javascript = onmouseover="window.status='**something here**'; return true;" onmouseout="window.status=''; return true;



xtendscott
Web Site Design and CF Programming
 
Well if you want to hide a page URL in your Site Navegation create a field in the database which stores page information and when you run the SQL that generates the Navigation URL's you can exclude all pages marked in that column... can still link directly to the page but its URL is kinda hidden.
 
find url in frame, right click -> page properties or view source. if you're hiding variables i suggest using form or session variables.

If you don't ask the right questions, you don't get the right answers. A question asked in the right way often points to its own answer. Asking questions is the ABC of diagnosis. Only the inquiring mind solves problems.

-Quote by Edward Hodnett
 

i wish we could hear back from pathetic!

i'm wondering if perhaps it's a nav bar issue

like jakob nielsen says, "never have a link that points right back to the current page"

if this is the problem, you solve that with a CFIF and judicious use of CSS

rudy | r937.com | Ask the Expert | Premium SQL Articles
SQL for Database-Driven Web Sites (next course starts March 6 2005)
 
I agree, vague question.

If you don't ask the right questions, you don't get the right answers. A question asked in the right way often points to its own answer. Asking questions is the ABC of diagnosis. Only the inquiring mind solves problems.

-Quote by Edward Hodnett
 
Hello my friendly tek-tip helpers. I am so pathetic and I know my question was extremely vague AND I apologize for leaving you hanging. I was hopeful to find out how I would go about not displaying the URL of a hyperlinked .PDF file in the browser address bar. The .PDF file is hyperlinked from a CFGrid column, it opens in a new window and I prefer to not display the file name when the PDF file launches.
 
what you may want to do is look into cfheader and cfcontent and place the pdf files outside of the web space. that way they can't be accessed except through your links.

If you don't ask the right questions, you don't get the right answers. A question asked in the right way often points to its own answer. Asking questions is the ABC of diagnosis. Only the inquiring mind solves problems.

-Quote by Edward Hodnett
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top