Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Link Within a Page

Reply
Thread Tools

Link Within a Page

 
 
Adrienne Boswell
Guest
Posts: n/a
 
      07-19-2011
Gazing into my crystal ball I observed Adrienne Boswell
<> writing in news:Xns9F26C7C0D5F7Darbpenyahoocom@
88.198.244.100:

> Gazing into my crystal ball I observed "Neil Gould"
> <> writing in news:j018p5$aj1$1

@speranza.aioe.org:
>
>> Denis McMahon wrote:
>>>
>>> I think your basic asp method and setup is screwy - it would be
>>> better to include the sub page content at the html level rather than
>>> display them in an iframe.
>>>

>> I didn't see any asp code on the page in question. Since asp is
>> server-side and doesn't display to browsers unless there is some error
>> in the code, I don't know how one could evaluate the quality of the
>> asp without seeing the source code.
>>

>
> I think what Denis what talking about is the use of iframes instead of
> includes, which is, IMHO, screwy.
>


And I should have read further into the thread before I hit enter.
Sorry!

--
Adrienne Boswell at Home
Arbpen Web Site Design Services
http://www.cavalcade-of-coding.info
Please respond to the group so others can share
 
Reply With Quote
 
 
 
 
Adrienne Boswell
Guest
Posts: n/a
 
      07-19-2011
Gazing into my crystal ball I observed mjones
<> writing in
news:08e4e5bb-f8df-40bd-85d9-:

> Hi All,
>
> I've been using this method for years, but noticed today that it works
> in IE, but not in FireFox 5.0. I can imaging that an automatic
> FireFox update caused the problem.
>
> Does anyone know how to make it work in FireFox?
>
> <A HREF="#jump">Link</A>
> ...
> ...
> <A NAME="jump">This is the Text you want to jump to</A>
>
> Here is the web page it is used on ....
> http://www.quality-computing.com?url...comparison.asp.
>
> Any hints would be greatly appreciated.
>


IMHO, you main problem is using iframe instead of an asp include.
Includes are MUCH easier than an iframe. You could have a template
something like:

<% thispage = "Title of Page"
thisurl = "pagename.asp"
%>
<!--#include file="htmlheader_inc.asp"-->
<body>
<!--#include file="header_inc.asp"-->
<!--#include file="navigation_inc.asp"-->
<div id="content">
Your content here.
</div>
<!--#include file="footer_inc.asp"-->

The htmlheader_inc.asp file would have the doctype, external stylesheet,
external javascript, db link, etc. The variables thispage would be used
by the title element, and thisurl can be used for navigation so people
know they are on THAT page.

The header_inc.asp would be what ever header, the navigation.asp the
navigation, and footer_inc.asp would close the db connection, and close
the body and html elements. Done!

My other suggestion is to get rid of those javascript:void() things. I
know you like opening little windows, but you have to remember that a lot
of visitors are not going to be have a device that can open little
windows (like mobile phones). I tried to open the Scheduled Course Dates
using Opera Mobile, it opened it, I had to scroll around a lot to get the
information, and when I tried going back, I got lost. Just let links
open in the same window, users know how to use the back button, and they
certainly don't want it broken.

--
Adrienne Boswell at Home
Arbpen Web Site Design Services
http://www.cavalcade-of-coding.info
Please respond to the group so others can share
 
Reply With Quote
 
 
 
Reply

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
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Link to a specified location within a page Samuel Shulman ASP .Net 2 10-31-2006 06:40 PM
session state lost when page launched from link within PowerPoint =?Utf-8?B?SXZlcnM=?= ASP .Net 2 01-25-2006 05:45 PM
I want to create a link "e-mail this page to a friend" on clicking this link i want to send the URL of that current page to a friend pavi Javascript 0 01-13-2006 12:10 PM
RE: Link Link Link =?Utf-8?B?REw=?= Windows 64bit 0 05-17-2005 12:15 PM
Re: Link Link Link DANGER WILL ROBINSON!!! Kevin Spencer ASP .Net 0 05-17-2005 10:41 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57