hi,
i'm including page in my index file with php's include... so lik to it looks
like:
index.php?page=aboutus.php
now, problem is that i have in "aboutus" page few anchor points...
how can i refer to that anchor points?
when i use:
(aaboutus.php)
<a href="#anch1">anchor1</a>
....
<a name="anch1> fsdfdsfdsfsdfddfsdfs </a>
in FF it works, but in IE it doesn't...
[ index.php?page=aboutus.php#anch1] doesn't work
please help... 6 7829
Does index.php#anch1?page=aboutus.php work?
Best regards
ToMeK wrote: hi, i'm including page in my index file with php's include... so lik to it looks like:
index.php?page=aboutus.php
now, problem is that i have in "aboutus" page few anchor points...
how can i refer to that anchor points?
when i use:
(aaboutus.php)
<a href="#anch1">anchor1</a> ... <a name="anch1> fsdfdsfdsfsdfddfsdfs </a>
in FF it works, but in IE it doesn't...
[ index.php?page=aboutus.php#anch1] doesn't work
please help...
I'm not sure...but i'm hoping this may not be the problem. Providing
that you already know that your page ends with .php...why not try
index.php?page=aboutus#anch1...I'm saying this cause IE may be confused
with the .php at the end of aboutus.
It's just a try...i'm not sure if this will work.
Regard,
Gerard
"Dikkie Dik" <no****@nospam.org> wrote in message
news:dh**********@news.cistron.nl... Does index.php#anch1?page=aboutus.php work?
hm.. no, I think it's because, anchor is on aboutus.php page...
this looks like this:
[index.php]
========
<html><body>
<!-- header menu-->
<a href="<?php echo $_server['php_self'];?>?page=aboutus.php"> load aboutus
page</a>
<?php include $_GET['page']; ?>
</body></html>
[aboutus.php]
=========
<a href="#anch1">go to anchor1</a>
bla bla... content
<a name="anch1></a>here's contet under anchor1
bla bla... content
now, when i click on link in index.php page, it loads aboutus.php page
correctly, but then this anchor link in aboutus.php page doesn't work (only
in IE, in FFit works)
.....
Best regards
ToMeK wrote: hi, i'm including page in my index file with php's include... so lik to it
looks like:
index.php?page=aboutus.php
now, problem is that i have in "aboutus" page few anchor points...
how can i refer to that anchor points?
when i use:
(aaboutus.php)
<a href="#anch1">anchor1</a> ... <a name="anch1> fsdfdsfdsfsdfddfsdfs </a>
in FF it works, but in IE it doesn't...
[ index.php?page=aboutus.php#anch1] doesn't work
please help...
On Tue, 04 Oct 2005 18:50:40 +0200, ToMeK wrote: "Dikkie Dik" <no****@nospam.org> wrote in message news:dh**********@news.cistron.nl... Does index.php#anch1?page=aboutus.php work? hm.. no, I think it's because, anchor is on aboutus.php page...
this looks like this: [index.php] ======== <html><body> <!-- header menu--> <a href="<?php echo $_server['php_self'];?>?page=aboutus.php"> load aboutus page</a>
<?php include $_GET['page']; ?> </body></html>
[aboutus.php] ========= <a href="#anch1">go to anchor1</a> bla bla... content <a name="anch1></a>here's contet under anchor1 bla bla... content
now, when i click on link in index.php page, it loads aboutus.php page correctly, but then this anchor link in aboutus.php page doesn't work (only in IE, in FFit works)
Encode the pound sign (#) as an html entity:
<a href="<?php echo $_server['php_self'];?>?page=aboutus.php%23"> load
Note the "%23" added to the above URL
aboutus
--
JDS | je*****@example.invalid
| http://www.newtnotes.com
DJMBS | http://newtnotes.com/doctor-jeff-master-brainsurgeon/
no... still nothing...
"JDS" <je*****@example.invalid> wrote in message
news:pa****************************@example.invali d... On Tue, 04 Oct 2005 18:50:40 +0200, ToMeK wrote:
"Dikkie Dik" <no****@nospam.org> wrote in message news:dh**********@news.cistron.nl... Does index.php#anch1?page=aboutus.php work?
hm.. no, I think it's because, anchor is on aboutus.php page...
this looks like this: [index.php] ======== <html><body> <!-- header menu--> <a href="<?php echo $_server['php_self'];?>?page=aboutus.php"> load aboutus page</a>
<?php include $_GET['page']; ?> </body></html>
[aboutus.php] ========= <a href="#anch1">go to anchor1</a> bla bla... content <a name="anch1></a>here's contet under anchor1 bla bla... content
now, when i click on link in index.php page, it loads aboutus.php page correctly, but then this anchor link in aboutus.php page doesn't work (only in IE, in FFit works)
Encode the pound sign (#) as an html entity:
<a href="<?php echo $_server['php_self'];?>?page=aboutus.php%23"> load
Note the "%23" added to the above URL
aboutus
-- JDS | je*****@example.invalid | http://www.newtnotes.com DJMBS | http://newtnotes.com/doctor-jeff-master-brainsurgeon/
ToMeK wrote: <a href="#anch1">anchor1</a> ... <a name="anch1> fsdfdsfdsfsdfddfsdfs </a>
in FF it works, but in IE it doesn't...
URL? let's see what's happening in actuality.
--
Jock This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Astra |
last post by:
Hi everybody
Need your help.
I have a DB-extracted list of say 5 items per page, which have links on each
one that takes you to more detailed info on the 'clicked' particular item.
When you...
|
by: Daniele Baroncelli |
last post by:
Hi guys,
I would like to change the text in an anchor.
es.
from
<a id="idanchor">oldtext</a>
to
|
by: elsenraat_76 |
last post by:
Hello! I was wondering if someone could help me out with a problem I'm
having? I'm trying to input a javascript value into an anchor tag
(from a function), but don't have an event to call the...
|
by: Richard Brown |
last post by:
Ok, I celebrate and rejoice in the Anchor property. So wonderful compared
to the horrible 'resize' code I had to write in VB6, there is just no end to
the wonders of VB.NET..... uh, ok..... BUT......
|
by: CJ Taylor |
last post by:
Hey, how do I use the anchor property?
I have it set to Top, Left, but when I expand the form, it doesn't grow with
it... What am I missing?
Thanks,
CJ
|
by: gary |
last post by:
Hi,
I am trying to reference an anchor in a user control with a url. This
worked in 1.1 but no longer works in 2.0.
The ascx control is located in a "/include" folder
If you have a...
|
by: elibol |
last post by:
Hi,
Is there an event that fires when the back or forward button on a
browser is pressed? I need an event to fire when someone clicks the
back or forward button after an anchor has been set.
...
|
by: Randy Webb |
last post by:
The list below has the current section number, proposed anchor name, and
then the current title of that section. Some make sense, some don't.
There are a few that don't have proposed anchor names...
|
by: Joseph Gruber |
last post by:
Hi all -- I have two questions.
First, I'm adding a control to my form at runtime and the control/form
seems to ignore the anchor property of the runtime control. Any idea
how I can get a...
|
by: Meadock |
last post by:
Here's an example of what i'm trying to do.
At www.webpage.com/page1.php, there's a link that points to an anchor at www.webpage.com/page2.php. The syntax is: <a href="page2.php#anchor">Link</a>...
|
by: DolphinDB |
last post by:
Tired of spending countless mintues downsampling your data? Look no further!
In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: Vimpel783 |
last post by:
Hello!
Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
|
by: ArrayDB |
last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
|
by: PapaRatzi |
last post by:
Hello,
I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
|
by: Defcon1945 |
last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
|
by: Shællîpôpï 09 |
last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
|
by: af34tf |
last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
| |