I want a Hyperlink that modifies dynamically the target after every click.
The link text/gif should be permanent, but the link target should be taken
from a dynamic file/table in the server, and modified following every click
by any user.
Does PHP support that?
Thanks
Jack 4 1213
On Wed, 15 Aug 2007 08:56:16 +0200, Jack <Ja**@lack.net.ilwrote:
I want a Hyperlink that modifies dynamically the target after every
click.
The link text/gif should be permanent, but the link target should be
taken
from a dynamic file/table in the server, and modified following every
click
by any user.
Does PHP support that?
Only if you're willing to reload the whole page, else you're stuck with
javascript.
--
Rik Wasmus
On 15.08.2007 08:56 Jack wrote:
I want a Hyperlink that modifies dynamically the target after every click.
The link text/gif should be permanent, but the link target should be taken
from a dynamic file/table in the server, and modified following every click
by any user.
Does PHP support that?
No, php has no idea on what a 'click' is.
--
gosha bine
makrell ~ http://www.tagarga.com/blok/makrell
php done right ;) http://code.google.com/p/pihipi
<comp.lang.php>
<Jack>
<Wed, 15 Aug 2007 08:56:16 +0200>
<f9**********@news2.netvision.net.il>
I want a Hyperlink that modifies dynamically the target after every click.
The link text/gif should be permanent, but the link target should be taken
from a dynamic file/table in the server, and modified following every click
by any user.
Does PHP support that?
Yes - just grab the link from the file before the page is displayed .
--
(c) The Amazing Krustov
"Krustov" <me@privacy.netwrote in message
news:MP************************@news.newsreader.co m...
<comp.lang.php>
<Jack>
<Wed, 15 Aug 2007 08:56:16 +0200>
<f9**********@news2.netvision.net.il>
>I want a Hyperlink that modifies dynamically the target after every click. The link text/gif should be permanent, but the link target should be taken from a dynamic file/table in the server, and modified following every click by any user. Does PHP support that?
Yes - just grab the link from the file before the page is displayed .
--
(c) The Amazing Krustov
^^ No, that is if the page reloads, which it doesn't.
If I were you, I would go with a JavaScript function that dynamically loads
the PHP file, checks the values of the link against it, and then changes the
link.
Matt This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: laura |
last post by:
I am writing an intranet and want to be able to hyperlink to all files
within a specific folder AND it's subfolders. Whilst I can hyperlink to the
files in the specified folder AND I can also iterate through the subfolders
and list them, for some reason I cannot hyperlink to the sub folders. I am
writing this software at home using a computer...
|
by: Ryan Harvey |
last post by:
Hi all,
I have written a web user control that contains a repeater control. the
ItemTemplate for this control is basically 6 Hyperlinks in a row, that are
dynamically allocated one of 7 gif images as the ImageURL of the Hyperlink.
When a load the page with the controls on it works fine, but sometimes the
images are broken, but if i hit...
|
by: Robson Carvalho Machado |
last post by:
Dear friends,
I'm dynamically creating a Hyperlink with spacer.gif as ImageURL that is an
1px transparent image only to determine link position, but as I create this
link dynamically I could not set image width. This problem makes my link
clickable only on its borders.
When viewing HTML source I could see that spacer.gif has no width and...
|
by: klynn |
last post by:
I need to create a datagrid dynamically and add a hyperlink onto one of the
columns. So the user sees that columns value and can click on it. But the
hyperlink sends a value from another column (which is hidden in the
datagrid). Whats the best way to do this?
|
by: Tomek R. |
last post by:
Hello !
This post does'nt regard column hyperlink.
I just have single hyperlink and want to create it's NavigateUrl
dynamically.
This is my test page
<form id="Form1" method="post" runat="server">
<asp:HyperLink id="MyHLink" NavigateUrl='<%# geturl("123456") %>'
| |
by: david |
last post by:
Hi, all:
I need a help from you about DataGrid control.
I created a DataGrid, dg, in design view of .NET visual Stadio and use the
builder to add a Hyperlink column to dg.
I want to try to assign a column of URLs to this hyperlink column in
programming way (ie., dynamically assignment). However, I can not find a way
to continue doing it.
...
|
by: sloesch |
last post by:
I am working with VS.net 2003, framework 1.1, developing with VB.net,
and ASP.net, and I would like to know how you can create a dynamic
hyperlink on the fly to a document stored in a SQL database?
I would like to create a VB.net function that would do this, and I
found this class *System.Web.UI.WebControls.HyperLink*, but I can not
find...
|
by: SAL |
last post by:
I would like to create a VB.net function, that builds a dynamic hyperlink
using System.Web.UI.WebControls.HyperLink, but I can not find any examples on
how to generate a dynamic hyperlink. Has anyone done this before?
I do not want to dynamically create my hyperlink on an ASP page, but rather
a behind the scenes link that a user can paste...
|
by: =?Utf-8?B?UGF1bA==?= |
last post by:
Hi,
I am creating emails dynamically using C# and would like to place a
hyperlink in the email body before sending it out. I added the text for what
I thought was a hyperlink but the email just shows the entire text including
the navigation URL where I would like it to show up as a clickable link but
only display the portion of the hyperlink...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it. ...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert...
| |
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |