PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Programmation & Conception > macromedia.dyna.html > External Link Solution...
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
External Link Solution...

Réponse
 
LinkBack Outils de la discussion
Vieux 28/04/2008, 22h54   #1
ArtsyAndi
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut External Link Solution...

I am building an online directory which requires me to have a ton of external
links pointing away from my site. I know that many people (including myself)
are easily annoyed by new windows loading, so I want to avoid that. However, my
hope is to make it easier for my visitors to return to my site once they have
"wandered" a bit.

To solve the issue I would like to develop the site to where when someone
clicks on a link, it will open to that site... but will have a very thin frame
at the top with our logo and a "return to" link. This would be similar to when
you do a Google image search, click on an image and have the banner at the top
that allows you to return to the search, turn off the header, etc.

Does anyone know how this would be designed best? I'm sure it is fairly
simple, and I know that I am probably making it a lot more complicated than it
should be...

And... I am open to other suggestions if you have better ideas.

  Réponse avec citation
Vieux 29/04/2008, 12h57   #2
Murray *ACE*
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: External Link Solution...

Use frames. However, some sites will block your attempt to "frame" them.

The outgoing links would all point to your frameset, with the actual domain
carried in a URL variable, e.g.,

<a href="yourframesetpage.php?link=example.com"...

Then the frameset would parse that variable, e.g.,

<?php

$url = (isset($_GET['link'])?$_GET['link']:FALSE);

?>

and use it in the frameset definition, e.g.,

<frame src="<?php echo ($url?$url:'somedummypage.html'); ?>"....

--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
==================


"ArtsyAndi" <webforumsuser@macromedia.com> wrote in message
news:fv5h3j$g6b$1@forums.macromedia.com...
>I am building an online directory which requires me to have a ton of
>external
> links pointing away from my site. I know that many people (including
> myself)
> are easily annoyed by new windows loading, so I want to avoid that.
> However, my
> hope is to make it easier for my visitors to return to my site once they
> have
> "wandered" a bit.
>
> To solve the issue I would like to develop the site to where when someone
> clicks on a link, it will open to that site... but will have a very thin
> frame
> at the top with our logo and a "return to" link. This would be similar to
> when
> you do a Google image search, click on an image and have the banner at the
> top
> that allows you to return to the search, turn off the header, etc.
>
> Does anyone know how this would be designed best? I'm sure it is fairly
> simple, and I know that I am probably making it a lot more complicated
> than it
> should be...
>
> And... I am open to other suggestions if you have better ideas.
>


  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 12h05.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,21530 seconds with 10 queries