[ This is my second attempt to post this; sorry for repeats. ]
Suppose I want to set some color to match the color of (unvisited)
hyperlinks, whatever this color may be (without explicitly setting
this color, of course). How can I specify it?
Thanks,
Karl
~
--
Sent from a spam-bucket account; I check it once in a blue moon. If
you still want to e-mail me, cut out the extension from my address,
and make the obvious substitutions on what's left. 5 1788
"KKramsch" <ka************ *******@yahooPE RIODcom.invalid > wrote in message
news:cc******** **@reader2.pani x.com... [ This is my second attempt to post this; sorry for repeats. ]
Suppose I want to set some color to match the color of (unvisited) hyperlinks, whatever this color may be (without explicitly setting this color, of course). How can I specify it?
With client-side script.
In <2l************ @uni-berlin.de> "Harlan Messinger" <h.*********@co mcast.net> writes: "KKramsch" <ka************ *******@yahooPE RIODcom.invalid > wrote in message news:cc******* ***@reader2.pan ix.com... [ This is my second attempt to post this; sorry for repeats. ]
Suppose I want to set some color to match the color of (unvisited) hyperlinks, whatever this color may be (without explicitly setting this color, of course). How can I specify it?
With client-side script.
How??? After scanning all the properties of links (including
"style"), not a single one reveals color.
Karl
--
Sent from a spam-bucket account; I check it once in a blue moon. If
you still want to e-mail me, cut out the extension from my address,
and make the obvious substitutions on what's left.
"KKramsch" <ka************ *******@yahooPE RIODcom.invalid > wrote in message
news:cc******** **@reader2.pani x.com... In <2l************ @uni-berlin.de> "Harlan Messinger"
<h.*********@co mcast.net> writes:"KKramsch" <ka************ *******@yahooPE RIODcom.invalid > wrote in
messagenews:cc******* ***@reader2.pan ix.com... [ This is my second attempt to post this; sorry for repeats. ]
Suppose I want to set some color to match the color of (unvisited) hyperlinks, whatever this color may be (without explicitly setting this color, of course). How can I specify it?
With client-side script.
How??? After scanning all the properties of links (including "style"), not a single one reveals color.
On second thought, I'm not sure. I was thinking you'd have a link with an ID
attribute, and use that to get its color, but of course you have no control
over whether that link has been visited or not.
"Harlan Messinger" <h.*********@co mcast.net> wrote: "KKramsch" <ka************ *******@yahooPE RIODcom.invalid > wrote:"Harlan Messinger" <h.*********@co mcast.net> writes: >"KKramsch" <ka************ *******@yahooPE RIODcom.invalid > wrote: >> >> Suppose I want to set some color to match the color of (unvisited) >> hyperlinks, whatever this color may be (without explicitly setting >> this color, of course). How can I specify it?
>With client-side script.
How??? After scanning all the properties of links (including "style"), not a single one reveals color.
On second thought, I'm not sure. I was thinking you'd have a link with an ID attribute, and use that to get its color, but of course you have no control over whether that link has been visited or not.
document.linkCo lor has been a part of the DOM since before the term
DOM was coined (it dates back to Netscape 2 JavaScript).
It will return the unvisited link colour for the document - tests in
IE6 show that it returns the link colour set via <body link="#rrggbb">
or if that isn't set then it returns the browser's default link
colour. It does not return link colours set via author CSS. I doubt it
returns link colours set via user CSS.
So that's a partial solution. In addition you would want to query the
styleSheets[] collection and its styleSheet compoments and find any
the :link definitions. Whilst I believe this can be done I haven't got
the code written already (yeah I'm lazy) and determinging which of
many :link styles is relevant to your goal may be a difficult taks in
itself.
Steve
--
"My theories appal you, my heresies outrage you,
I never answer letters and you don't like my tie." - The Doctor
Steve Pugh <st***@pugh.net > <http://steve.pugh.net/>
KKramsch wrote: "Harlan Messinger" writes:
"KKramsch" wrote...
I want to set some color to match the color of (unvisited) hyperlinks, whatever this color may be (without explicitly setting this color, of course). How can I specify it?
With client-side script.
How???
I think that's what the DOM getComputedStyl e is for. I couldn't find
anything at the w3c on a quick Google search, but I did find a Mozilla
page on it: http://www.mozilla.org/docs/dom/domr...es.html#998756
--
Brian (remove ".invalid" to email me) http://www.tsmchughs.com/ This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: JP SIngh |
last post by:
Hi All
We have an ASP application which links to various word and excel documents
stored in a folder called attachments.
The documents are extermely confidential in nature and we would like
restrict the access to them through the application only.
How can we prevent users from guessing the name of the document and reach it
by tying http://myserver/attachments/thisdocument.doc
|
by: Bob |
last post by:
Hello,
I have an <h1> banner that is white font on black background. I am using CSS
to style the banner in white on black.
I would like to hyperlink the words, but I want to force the hyperlink to
remain white in color rather than changing colors due to the hyperlink. Just
for the banner hyperlinks - not for the whole page with other hyperlinks.
Is there a way to force the banner hyperlink to remain white?
|
by: Tim |
last post by:
Access 97: I have a table with a hyperlink field that I display on a form. I can
click on the form field and the hyperlink activates correctly.
However, if I try to activate the hyperlink using VB code, the last
hyperlink that was clicked is the only one that displays.
Background: The database is for providing instruction documentation
for shop-floor personnel in a manufacturing environment. The main
purpose of the database is to provide...
|
by: Robin |
last post by:
Hello!
I'm having trouble with links and hyperlinks in MS Access 2003 - any
help would be great!
Question 1!
The "insert hyperlink" icon opens a browser window, allows the user to
browse to the desired file and paste the hyperlink on the form (which
obviously remains for on all the records). I am trying to create a
|
by: Gerhard |
last post by:
I have an application that needs to be able to upload documents that can
latter be accessed and opened by a hyperlink. I can do this easliy if I
store the files in a subdirectory in the application, but we will be using
multiple web servers, so the files need to be stored on a common file server.
Saving them is easy enough, but how do I point a hyperlink at a file on a
file server that is different from the web server?
Could you please...
| |
by: Info_Junkie |
last post by:
I access the group through Google Groups. I know how many hate that.
Even so I like it, as our ISP account has bad customer service and we
cannot get the setup thru Outlook Express to work to access newsgroups
that way.
My issue is this: with all the other newsgroups the messages are
separate on each line. I click on a message and it opens in a new
window. Not so with this group. The "dot" in the name of the links
seems to mess it...
|
by: Janna |
last post by:
Hello tech savvy gurus! I hope someone can help me!
THE PROBLEM:
"Cannot open specified file" when I click on a hyperlink in an Access database when it is located on our server.
THE BACKGROUND:
I created a folder "Document Library" on my local drive, which contains document sub-folders and the database.
For referential integrity, I designed the database with relative hyperlinks (e.g. Folder\File.pdf). The hyperlinks worked perfectly...
|
by: mforema |
last post by:
Hi Everybody,
I have an Access table with a field filled with outdated hyperlinks. I also have an excel spreadsheet that is the master list for these hyperlinks. The spreadsheet will be updated by someone else whenever the links change. However, I don't always want to have to manually update my links whenever the spreadsheet is changed. Instead of manually updating 100's of hyperlinks, I would like to create a macro or something that will...
|
by: Neekos |
last post by:
I have an internal web page for my company that has a list of hyperlinks so that users can access different reports (.xls files on the server). What i would like to do is to keep track of who is accessing each report in a database.
I attempted to use the OnClick property of the <a href> tag to send a SQL query to insert the data into the table, however that wasnt working. Upon further investigation on the web - it appears the OnClick...
|
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 usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
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 captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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 launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
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 into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |