View Full Version : Some more advice on CSS / Javascript / HTML sought
Sticks
2005-Jun-28, 08:30 AM
I have some code that in CSS code will make an image semitransparent, i.e faded, but try as I might, I can not get just that image semistransparent and not text I want to put across it.
Sort of using the image as an underlay upon which a small amount of text is placed, namely a postal address
Can this be done with out resorting to doing a screen dump of the faded image and pasting that into paintbrush etc...
If this can be done is it using CSS, Javascript or HTML?
Robert Andersson
2005-Jun-28, 10:45 PM
No, not in a reliable way. Mozilla (Firefox/Netscape) and Internet Explorer do have non-standard CSS extensions for doing that, but that's a nasty road. I would try to come up with an alternative design.
It was I while since I investigated that site (if I ever did), but you may find good examples at http://www.csszengarden.com/
Sticks
2007-Jun-07, 10:04 AM
Almost two years on, and I have more questions re Java Script - sort of.
Whilst looking at the source of one site I noticed it referenced a .js file (I assume js is Java Script)
the line where it called it in the <head> section was thus
<script src="http://some website/jsfile.js" type="text/javascript"></script>
The .js file seemed to have Java script in it when I used notepad to view it.
Is this how you can have external libraries of javascript routines? :confused:
hhEb09'1
2007-Jun-07, 10:38 AM
Is this how you can have external libraries of javascript routines? Online discussion (http://jackdonnell.com/articles/extjava.html) and online help (http://www.htmlgoodies.com/beyond/javascript/article.php/3470901)
Sticks
2010-Jan-07, 08:16 AM
Almost three years on :shifty:
This is the code segment of a menu driven page to open a number of applications. I am using a drop down form
function OpenDatabase()
{
chosen=document.form1.choice.selectedIndex
database = dbases[chosen]
window.location = database
}
The array lists links to either web pages, access files or a Word file
The question, most likely on window.location is, is it possible to open up web pages in a different window (or tab), and how?
I am trying a workaround by using an intermediate page that opens the required pages as a pop up and then "Goes back" to the menu page.
If this works the problem is I need a separate page for each application called.
Any thoughts?
Powered by vBulletin® Version 4.2.3 Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.