Visited Links

I am working on a JSF/JSP website. Its purpose is to search through our pdf files on a server and, like google, display them on the page according to relevance. When you click on the link it opens the PDF in another window.
My problem is the link doesn't change format to a visited link. How could I make that switch? I just started looking at java script so forgive me if i sound like a beginner. Would something like:
<a href = javascript: PDF_URL onclick = style.color = 'red'>Any help will be greatly appreciated.
Regards,
Will

Aw dude.
When I said (more or less) to find a JavaScript forum I meant search Google. I didn't mean for you to cross-post your question here. Here's a tip, when someone tells you to repost a question in another forum, they never mean on this site, they mean on another more relevant site. So in future if you ever have doubts do not* cross post, you've done that a lot today and it really pisses people off.
So here's what to do. Go back to your other thread here [http://forums.sun.com/thread.jspa?threadID=5389066] and we'll just do this one JavaScript question which should really be posted on JavaScript/HTML forum there.
And start awarding some of those dukes please, I think I deserve some compensation for trying to help you out and not just having you get blown up by a moderator.

Similar Messages

  • How do I stop Safari from Changing Visited Links Color's?

    I recently switched from Firefox to Safari since I find Safari much faster. I do have one annoyance though. When I click a link (especially in forums) and revisit a page with that link, Safari is changing the link's color. Firefox did this too, it changed visited links from blue to purple.
    I would like to set it somehow so Safari doesn't change the color of visited links at all. Is this possible? When I googled I saw many different posts about using custom made CSS style sheets. I just want to get an 'official' or more relevant answer since many opf those posts were years old. I'm using the latest Safari.
    Thanks!

    AFAIK, it's not possible with preferences, per se. See http://discussions.apple.com/thread.jspa?messageID=7183566 and http://www.yourhtmlsource.com/stylesheets/csslinks.html for possible hints. You might also investigate modifying one of Safari's css files, inside the Safari app—left as an exercise, with no guarantees that you won't cripple something.

  • Can I see the appearance of a visited link using BrowserLab?

    I'm having a problem with my site. My image links are behaving as the should in every browser except in IE8 where they are showing an unwanted underline. As I'm on a Mac, it's a pain to have to reboot in Windows to check every time I make a change to the CSS (and I have tried so many things to get rid of the problem)... so BrowserLabs has been the answer to my prayers to check general development. However, I need to find out if I can see what visited links look like, as this is where my IE8 problem is. http://www.cornucopia-design.co.uk/tablettest/cornucopia_meaning.html . Thanks

    Hi Lesley,
    I'm sorry, but no, there isn't a way to do this currently. We would need to have that in our browser history to give that appearance, and each screenshot request can go to a new browser instance, so there is no simple way for us to do this.
    Mark

  • Visited links not changing color on iPad Safari or other browsers

    Hi,
    On my iPad, when I visite a site via an hyperlink and then go back to the initial page, the color of that link is not changing anymore like it is on my MacBook. For example, in Google search, the visited links don't turn violet and remains blue instead. This is the case in Google search, Yahoo but not with Bing. The problem occurs on all my iPad web browsers (Safari, Atomic Web...).
    Is it a bug or a config thing that I can fix myself ? Anybody have any idea or did find a solution to this same problem ?
    Thank you,
    Daniel

    Well, I'm a mixed bag. After wasting time and missing the point earlier, thinking that this was about the Google app, today I finally suss to the fact that the discussion's a tually about in fhe browser ...
    Anyway, I take a look and, sure enough, the first one I try does pop into a violet color when returning to the results page. I thought it distinct enough to easily notice, and couldn't remember seeing it before (use the app most of the time).
    Unfortunately, that was rthe one and only time I saw that happen over the next ten minutes of running searches on multiple topics. All subsequent cycles showed the exacrt same shade of blue on return, and this includes tests run in the middle of and following such steps as clearing the app (cache, cookies history), force quitting the app, and restarting the iPad.
    Nothing made any difference. That first time was the one and only time, so far, that I saw the color change.
    Also tried a Reset. No change. I guess if it's really supposed to work then a Restore might do it but .... I think not.
    Message was edited by: Michael Morgan1

  • Hi, My places.sqlite file size is 30,720 KB have I reached the maximum size, is there even a maximum size for this. Visited links are no longer changing color.

    Hi,
    My places.sqlite file size is 30,720 KB have I reached the maximum size, is there even a maximum size for this.
    Suddenly the visited links are no longer changing font color, as I am preparing for an exam I need visited questions to change color, to keep track of questions that I have finished. But if I delete a few days of history then again,a few more visited links change color then again it stops, so it seems something is getting full and not able to accommodate any more? Why are my visited links no longer changing color after a certain number of visits? I do have a back up of the places.sqlite file. So I have tried everything from deleting the profile, uninstalling reinstalling, creating a new profile, then copy pasting places.sqlite etc, but as mentioned after a few visits, visited links no longer change color, if I delete a few days of history then again a few visits will again change color and then stop again, so what should I increase so that my visited links quota is increased, I have also tried tweaking about:config and it has had no result. Although I was not really confident that increasing brower.history_max _pages (don't remember exact name, but I am sure you get the idea) is going to help.
    Seems as though my visited links change color, quota is full and only if I delete a few days of history will I get a few more visited links to change color. Can somebody shed some light? As mentioned my places.sqlite file size is 30,720 KB so I think perhaps this has something to do with this? Would really appreciate if someone could help. Thank you.

    There is no maximum for the places.sqlite database and other SQLite database files like I wrote above.<br />
    All SQLite database file have fixed minimum sizes and if they run out of space they are automatically increased in size with a specific chunk size. For places.sqlite this is 10 MB for the minimum and for the chunk.
    *Bug 581606 - Avoid sqlite fragmentation via SQLITE_FCNTL_CHUNK_SIZE

  • Visited link color is not changing when there is no page redirection

    Visited link color is not changing when i just open a popup on clicking the hyperlink.. whereas visited link color gets changed when i redirect to a new page on clicking the hyperlink
    I want to have my visited link color to change even if i show a popup on clicking the hyperlink
    This works fine with IE..

    Hi,
    Have a look at the user status table TSOCM_STAT_PROP and see if there are any unwanted PROCESS_TYPE <> STSMA combinations.
    For your process type there should only be one kind of status schema assigned.

  • Google visited links indication failure

    Background
    Normally when browsers load a page they render previously visited links listed in History in a distinctive default colour. Style statements on the page, or elsewhere, can override this colour.
    Some pages use JavaScript to dynamically change a link's colour without reloading the page. This is particularly useful when the link opens another window.
    All this worked efficiently with Google searches until its JavaScript was changed a few years ago. Google now modifies the URL of links opening in other windows so that the URL is no longer the same as the one stored in History prior to the latest browser launch. The modified links contain random characters so that each launch of the browser contains different URLs for the same page hence inhibiting normal visited link indication.
    Google visited links indication failure occurs for links that open another window, frame or tab caused by:
    user's Google settings or
    selecting a new window by right clicking or
    using a page or link which puts 'newwindow=1' in the search results URL.
    Google visited links indication failure can be avoided by never shutting down the browser or by not invoking a new window.
    RemedyI have developed a Launch Agent containing a bash script which modifies History.plist items containing Google redirects. This works well but I have only been able to use the script after quitting from Safari so I run the Launch Agent at login or via the following AppleScript:tell application "Safari" to quit without saving
    do shell script "launchctl start reset-safari"
    Questions
    Does anybody know of any similar developments or workarounds?
    Does anybody know of a way to do this without quitting from Safari? ie is it possible to tell Safari to reload its memory without it overwriting the History.plist file first?

    Switch to Bing.  Much easier.  I've been using that search engine by default for several years now, specifically because of this and other related Google search (mis)behaviors.  
    With Bing, it's possible to cut-n-paste the web site's URL directly out of the Bing results without having to visit the page, and without having to resort to Safari extensions.
    Bing also tends to get less "reverse ranking algorithm engineering", which means that the Bing results tend to be less filled with cruft, as compared with the results for common Google searches. 
    Once in a while I'll use DogPile (which searches across multiple search engines), or a specific engine at DuckDuckGo, Blekko or Google for a specific (and usually more arcane) search query.   (But I was doing that with Google, too.)  Each search provider has different coverage with their web crawlers, and different ranking schemes.

  • Visited links behaving badly in IE8

    I have tested my site in many browsers and the links all appear as they are supposed to in all browsers, Mac and PC, except IE8 (surprise, surprise!). Even IE7 is OK. In IE8 only, my visited image links are all showing the underline style border-bottom-style: dotted; I set for the text links, despite my having only set those on specific divs containing the text. I have tried all sorts of other things: img {    border-style: none; }; and adding individual border-bottom-style: none; class style to the images. My css was becoming a mess so I took out all the link styles and started again. But still can't solve it (and my css has become a bit of a mess again, in an attempt to find a solution... so please don't shout at me!).  It's probably something very obvious but I've been looking at this for weeks and I'm tearing my hair out. Can someone help please? Here is a link to a page in my test site which displays the problem in IE8. The 'portfolio' link at the top of the page and the snail image should not have an underline when visited (or at all). http://www.cornucopia-design.co.uk/tablettest/cornucopia_meaning.html .
    I'm on a Mac so it's a pain to have to reboot into Windows every time I want to check whether something I have tried with the css works. I've started using BrowserLabs but can't find out how to display a visited link. I'm using DWCS5.5 .
    Any help would be greatly appreciated before I have a nervous breakdown! Thanks

    Thank you for your suggestion Jtanna. You too, Murray. I realise I hadn't actually tested the links in IE9, (only the pages in BrowserLabs) so hadn't thought that it might well be showing in that too (I thought IE9 was supposed to have been a great improvement on previous versions).
    I tried what you both suggested. Still the problem persists. I first put these two styles (which I realise are doing a similar job) near the top of my cascade, and when it didn't work then thought maybe I'd try them last on the list. But still those pesky underlines appear on my images in IE8/9. The frustrating thing is that every time I try something, I have to reboot my Mac in Windows mode to see the effects which takes so long (and I'm not going to line Microsoft's pockets by buying a PC just so I can sort out faults with their software!).
    As I said earlier, my text link styles are only applied to specific divs as I thought that would stop them being applied globally. I'm sure something must be clashing or in the wrong order but I'm just too inexperienced to work out what it might be. I have literally been puzzling over this for weeks (on and off) and it is driving me insane. Especially when I suspect there is a simple solution staring me in the face. So any further help would be really appreciated. I know my css is getting to be a bit of a mess in the main pages as this example http://www.cornucopia-design.co.uk/tablettest/cornucopia_meaning.html, for which I apologise but there is another much simpler page which might be easier to fathom which uses a different stylesheet: http://www.cornucopia-design.co.uk/tablettest/drawing_services.html.
    Many thanks, in hope!

  • Visited Links color in DRW menu

    Hey there,
    I placed horizontal menu using spry menus from DRW CS3. I had
    to change the colors to correspond the website.
    I made the background green and the text(links) in the menu
    and submenu items - white.
    In all browsers and computers i had in home it works fine -
    until someone told me that he see the links in BLUE color.
    I'm using IE7, Firefox, Opera and Safari for Win. He use IE6.
    I find other PC with IE6 - the same problem - ViSITED LINKS
    are blue.
    Can someone help with a solution???
    The browser settings on both IE6 PCs were set to default (no
    manual settings for HOVER and VISITED links).

    The best way to get an answer is to post a link to the website.
    Can you provide one?
    As a guess:
    Links have five "states"
    link (blue by default in most browsers)
    visited (purple by default in most browsers)
    hover
    active
    focus
    If no rules are defined for one or more of the states then the browsers default color applies.
    I'm guessing you've defined a CSS rule for a:link but nothing for a:visited.

  • Changing Safari Font Color for Visited Links

    Is there a utility or some other way to change the color of visited links in Safari? The current blue/purple colors are very difficult to distinguish and I would like a more dramatic color change for visited links. Thank you for any help.

    cadcard --
    Welcome!
    Here's a link to a thread where this was discussed before.
    Hope it is helpful:
    http://discussions.apple.com/thread.jspa?messageID=5204995&#5204995

  • Visited links using Safari on my iPad 2 won't stay the "visited" color

    Visited links using Safari on my iPad 2 won't stay the "visited" color after I close the tab, put the iPad in sleep mode (or whatever it's called), or when I power off the iPad.
    There are certain sites I visit where it comes in very handy to be able to see which links I've already clicked on. The links will stay the "visited" color during the time I'm on the site, but later they all go back to the "unvisited" color.
    Is there any way I can fix this on an iPad?

    Look at iOS Troubleshooting Wi-Fi networks and connections  http://support.apple.com/kb/TS1398
    iPad: Issues connecting to Wi-Fi networks  http://support.apple.com/kb/ts3304
    iOS: Recommended settings for Wi-Fi routers and access points  http://support.apple.com/kb/HT4199
    Additional things to try.
    Try this first. Turn Off your iPad. Then turn Off (disconnect power cord for 30 seconds or longer) the wireless router & then back On. Now boot your iPad. Hopefully it will see the WiFi.
    Go to Settings>Wi-Fi and turn Off. Then while at Settings>Wi-Fi, turn back On and chose a Network.
    Change the channel on your wireless router (Auto or Channel 6 is best). Instructions at http://macintoshhowto.com/advanced/how-to-get-a-good-range-on-your-wireless-netw ork.html
    Another thing to try - Go into your router security settings and change from WEP to WPA with AES.
    How to Quickly Fix iPad 3 Wi-Fi Reception Problems
    http://osxdaily.com/2012/03/21/fix-new-ipad-3-wi-fi-reception-problems/
    If none of the above suggestions work, look at this link.
    iPad Wi-Fi Problems: Comprehensive List of Fixes
    http://appletoolbox.com/2010/04/ipad-wi-fi-problems-comprehensive-list-of-fixes/
    Fix iPad Wifi Connection and Signal Issues  http://www.youtube.com/watch?v=uwWtIG5jUxE
    Fix Slow WiFi Issue https://discussions.apple.com/thread/2398063?start=60&tstart=0
    Unable to Connect After iOS Update - saw this solution on another post.
    https://discussions.apple.com/thread/4010130
    Note - When troubleshooting wifi connection problems, don't hold your iPad by hand. There have been a few reports that holding the iPad by hand, seems to attenuate the wifi signal.
    ~~~~~~~~~~~~~~~
    If any of the above solutions work, please post back what solved your problem. It will help others with the same problem.
     Cheers, Tom

  • Visited links on safari do not change color

    Hi, I use safari Version 5.1.10 (6534.59.10) and when i browse the search results on google, the color of visited links does not change (it should turn form blue to purple). This does not happen when i use other browsers. I have already tried to reset and empty cache.. ANy suggestions?? this is very annoying

    I don't know if they're not changing color for you, but for me the purple (visited link) looks too similar to the link (blue) for my bad corneas to distinguish unless I squint.
    I found the link below helped, and it works!
    How do I change color of links visited?

  • Changing color on visited links?

    How can Safari options be changed to show visited links in a different color (as is the case in Internet explorer and other browsers.
    i.e if you have already visited a link, when you return to the main page, the browser shows you by different colors which links you have viewed and which ones are new (for thew current session)
    thanks

    I know you said Safari Enhancer will change the "read" links color but not on certain pages that have their own style sheets. I am using 10.4 with the latest version of Enhancer with Yahoo set as my home page. This page has about 100 links to news, sports, business etc. Even though I set Enhancer to change the colors it will not do so. Nor will my Google News Page. It does work with Google Search page but I want it to work on my Yahoo home page since that is where I read all of my News etc. Can you recommend other software that will work? Is Apple going to address this issue?
    Power Mac G4 1.2   Mac OS X (10.4.4)   Safari Enhancer 3.1

  • How to keep visited links from changing color?

    FIRST, I want to say that it took me 10 minutes to find (accidentally) how to start a new thread.  In my profile?  Could it be any more obscure?
    </rant>
    Yeah, I go to change page properties and make links and visited links the same color.  It still changes, and this happens to be on a page where the background color provides poor contrast to the color the links are changing to.  Is there a way to do this that is not overridden by the web gods?  Or whatever?
    Thanks

    Yeah, I'm a dinosaur.
    Learned HTML from Elizabeth Castro's first edition; then went to DW MX,
    where I am stuck.  Works for me, obviously with imperfections, as I am
    hardly cutting edge multimedial gripping Web designer.
    Thanks for observations.
    I'll ask for help again: I really, truly, cannot find how to start a
    thread on the forum, nor reply to one, and all that.  I don't see any FAQ
    tht elementary, nor anyone to e-mail for guidance.  If you can offer a
    little of that, I will be grateful.
    Thanks,
    Denno
    It's a very dated website using extremely outdated code.
     
    There's a whole mix of HTML formatting and font tags in there which were
    deprecated 10+ years ago.
     
    This all means that the website will behave in strange ways sometimes.
     
    Although it can be fixed, it would take hours to debug, explain and
    implement the changes required, particularly if you've never used CSS
    styling before.
     
    You're better off investing some cash in a modern, well coded, CSS
    formatted template which will give you a sound foundation.
    e.g. http://www.projectseven.com/products/templates/index.htm
     
    Then you can add your content and get good results quickly.
    >

  • How to revert back to the last version - I lost ALL most visited links and my Norton Safe master logon

    Please, I am partially handicapped, and with the new version 4.0, I have lost ALL my Most Visited links and history, plus my Norton Safe master log on manager is also gone. (Typing in difficult for me)
    Regretting this upgrade BIG time, I want to revert back to the last version but cannot find any instructions anywhere.
    One blog entry I read said that the revert process (not explained how) made that person lose ALL their bookmarks.
    There was NO warning that this 4.0 version would do any of this, and this is unacceptable, my favorite browser for a long time has me wondering now if I should go to Chrome!

    Firefox 4.0 has a combined Reload, Stop, & Go button that appears at the right end of the location bar. Only one function is ever active at any one time, so combining them save UI space was a good idea. When a page is loading, it is a "Stop" button, when it finished loading, it turns into a "Reload" button, and when you start to type something into the Location bar it turns into a "Go" button.
    To restore the Firefox 3 appearance you can use these steps:
    * Open the "View > Toolbars > '''Customize'''" window or right-click a vacant area on a Toolbar, ''except fot the Bookmarks Toolbar''.
    * Then drag'n'drop the Reload and Stop buttons to their previous position at the left side of the Location bar.
    # Set the order to "Reload - Stop" to get a combined "Reload/Stop" button.
    # Set the order to "Stop - Reload" to separate them and get two distinct buttons.

  • Pagination and visited links issue

    I am creating reports on two tables which are structurally same but hold different set of data. I created one report page using SQL Query using PL/SQL function body returning SQL Query. The trick is to set a request value based on the link clicked by the user to run the query on the correct table. I am using following pagination scheme.
    "Search Engine 1,2,3,4(set based pagination)”
    The issue is with the “visited link” behavior of the links to the record sets in the pagination navigation bar (shown on the bottom right corner of the report region for each result set). Say the user has visits link 3 in pagination navigation bar on the report number one on table A. The browser correctly shows this link in visited link color. Now, if user opens report number 2 on table B, they see the link 3 again in visited color even if they are there for the very first time. This is sounds like a cosmetic nuisance, but this is sort of confusing for the users.
    I guess, since I am using the same page definition for both reports, the pagination object and associated links for the result sets in the pagination have same values. From browser perspective it is the same link and hence the links are shown visited.
    Is there a way that I can force a new pagination object based on which table I am accessing still using only one report page defined in HTMLDB. I do not want to create separate page for each report on each table.
    Thanks
    Salman

    I guess it was too wordy or it was not clear enough.
    In short, is it possible to clear out the visited link status (color changed) of the links to pagination resultset of a report within same session. The pagination type is "Search Engine 1,2,3,4(set based pagination)." I am using patched version 1.5.
    Thanks
    Salman

Maybe you are looking for

  • Help with getting links from HTML page

    Hello all. I found the sun tutorial for getting HREF values from a tags in an HTML document at <http://java.sun.com/developer/TechTips/1999/tt0923.html>. My question now is how would a person add the ability to get the text of the link to this code?

  • Employee tolerance group&G/L acct tolerance group&Customer/Vendor toler.grp

    Hi All, Can anyone explain me in detail about employee tolerance group, G/L acct tolerance group and Customer/Vendor tolerance group? what is the difference among them and do they have any linkages, like consistency, conflict etc. Any responses will

  • Not Able To Print PDF Documents

    Hi All, When I try to print the report output(PDF file) am getting following error: Printing output file. Request ID : 95532395       Number of copies : 1       Printer : CANDFKODFJ00545 ld.so.1: acroread: fatal: libgobject-2.0.so.0: open failed: No

  • EAX Effects That used to be on Sound Blaster Live Gone from Audigy

    [size="4" color="#0000ff" face="Century">?[size="4" color="#0000ff">Greetings,[size="4" color="#0000ff">?[size="4" color="#0000ff">I now own a Audigy SE for my Small Form Factor PC, The last time I had a creative Card it was a Sound Blaster Li've 5.[

  • Indo object text length

    hello every one. can some one please explain me .. how to display text of an object  in bex query nif its length is longer than 60 characters... thank u charan