473,385 Members | 1,622 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Need a Layer to Obscure my app ;-)

Mel
i have a screen with links etc. whay i would like to do is to create a
layer, the same size as my page, place it right on top of my page, so that
users can not click on any of my links.

is this possible ?

example would be greeeeeeeeeeeeeeeeet :-)
Jul 21 '05 #1
20 1919
Els
Mel wrote:
i have a screen with links etc. whay i would like to do is to create a
layer, the same size as my page, place it right on top of my page, so that
users can not click on any of my links.

is this possible ?

example would be greeeeeeeeeeeeeeeeet :-)


Just guessing - haven't tried it out:
at the end of your page's code:
<div id="layer">&nbsp;</div>

and in CSS:
div#layer{
position:absolute;
top:0;
left:0;
height:[whatever height your page is]
background:transparent;
}

I don't think it will have the effect you're after though.
If it's a web page, people will
a) get pissed off cause they can't click the links
b) if they're determined, they can still dive into your code and find
the hrefs.

Why don't you just create an image if you only want to show the
picture and not the real thing?

--
Els http://locusmeus.com/
Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo -
Now playing: Thunder - Dirty Love
Jul 21 '05 #2
"Mel" <me**********@hp.com> wrote:
i have a screen with links etc. whay i would like to do is to create a
layer, the same size as my page, place it right on top of my page, so that
users can not click on any of my links.


Why?

--
Spartanicus
Jul 21 '05 #3
Mel wrote:
i have a screen with links etc. whay i would like to do is to create a
layer, the same size as my page, place it right on top of my page, so that
users can not click on any of my links.

is this possible ?


Trying to trick people into thinking their mice aren't working?
Jul 21 '05 #4
Mel

"Spartanicus" <in*****@invalid.invalid> wrote in message
news:3j********************************@news.spart anicus.utvinternet.ie...
"Mel" <me**********@hp.com> wrote:
i have a screen with links etc. whay i would like to do is to create a
layer, the same size as my page, place it right on top of my page, so thatusers can not click on any of my links.


Why?

--
Spartanicus


come on dooooods !
i have some internet widgets that i display on the screen as my "help" menu
and therefore its for viewing only and i dont what the users to click on
them and go somewhere else.

with all that said and done,
is it possible ?
Jul 21 '05 #5
On Wed, 25 May 2005 14:08:42 -0400, Mel <me**********@hp.com> wrote:
i have some internet widgets that i display on the screen as my "help" menu
and therefore its for viewing only and i dont what the users to click on
them and go somewhere else.

with all that said and done,
is it possible ?


Easy. Don't make them links.
--
,-- --<--@ -- PretLetters: 'woest wyf', met vele interesses: ----------.
| weblog | http://home.wanadoo.nl/b.de.zoete/_private/weblog.html |
| webontwerp | http://home.wanadoo.nl/b.de.zoete/html/webontwerp.html |
|zweefvliegen | http://home.wanadoo.nl/b.de.zoete/html/vliegen.html |
`-------------------------------------------------- --<--@ ------------'

Jul 21 '05 #6
Mel

"Els" <el*********@tiscali.nl> wrote in message
news:sk****************************@40tude.net...
Mel wrote:
i have a screen with links etc. whay i would like to do is to create a
layer, the same size as my page, place it right on top of my page, so that users can not click on any of my links.

is this possible ?

example would be greeeeeeeeeeeeeeeeet :-)


Just guessing - haven't tried it out:
at the end of your page's code:
<div id="layer">&nbsp;</div>

and in CSS:
div#layer{
position:absolute;
top:0;
left:0;
height:[whatever height your page is]
background:transparent;
}

I don't think it will have the effect you're after though.
If it's a web page, people will
a) get pissed off cause they can't click the links
b) if they're determined, they can still dive into your code and find
the hrefs.

Why don't you just create an image if you only want to show the
picture and not the real thing?

--
Els http://locusmeus.com/
Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo -
Now playing: Thunder - Dirty Love

somehow when the background is anything other than transparent, users can
not click on the links, but when its transparent, you can still click on the
links.

any help is appreciated
Jul 21 '05 #7
Mel

"Barbara de Zoete" <b_********@hotmail.com> wrote in message
news:opsrcfi4snx5vgts@zoete_b...
On Wed, 25 May 2005 14:08:42 -0400, Mel <me**********@hp.com> wrote:
i have some internet widgets that i display on the screen as my "help" menu and therefore its for viewing only and i dont what the users to click on
them and go somewhere else.

with all that said and done,
is it possible ?


Easy. Don't make them links.
--
,-- --<--@ -- PretLetters: 'woest wyf', met vele interesses: ----------.
| weblog | http://home.wanadoo.nl/b.de.zoete/_private/weblog.html |
| webontwerp | http://home.wanadoo.nl/b.de.zoete/html/webontwerp.html |
|zweefvliegen | http://home.wanadoo.nl/b.de.zoete/html/vliegen.html |
`-------------------------------------------------- --<--@ ------------'


I DO NOT want to make changes to already working test procedures, just for
the sake of help and I do not want to add complicated logic for it either. I
simply thought that i can use the same procedure and just throw a layer on
top of it in my help popup.

first suggestion worked for any background other than transparent, but when
background is transparent you can still click on the links

can you help ?
Jul 21 '05 #8
Els
Mel wrote:
"Els" <el*********@tiscali.nl> wrote in message
news:sk****************************@40tude.net...
Mel wrote:
i have a screen with links etc. whay i would like to do is to create a
layer, the same size as my page, place it right on top of my page, so that users can not click on any of my links.

is this possible ?

example would be greeeeeeeeeeeeeeeeet :-)


Just guessing - haven't tried it out:
at the end of your page's code:
<div id="layer">&nbsp;</div>

and in CSS:
div#layer{
position:absolute;
top:0;
left:0;
height:[whatever height your page is]
background:transparent;
}

I don't think it will have the effect you're after though.
If it's a web page, people will
a) get pissed off cause they can't click the links
b) if they're determined, they can still dive into your code and find
the hrefs.

Why don't you just create an image if you only want to show the
picture and not the real thing?

--
Els http://locusmeus.com/
Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo -
Now playing: Thunder - Dirty Love

somehow when the background is anything other than transparent, users can
not click on the links, but when its transparent, you can still click on the
links.

any help is appreciated


Use a transparent gif as background of the div. (small one, repeated)

--
Els http://locusmeus.com/
Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo -
Now playing: -
norahjones_comeawaywithme_120.nsv&uid=&sessid=&sur facePoint=us.winamp
Jul 21 '05 #9
Mel

"Els" <el*********@tiscali.nl> wrote in message
news:1y*******************************@40tude.net. ..
Mel wrote:
"Els" <el*********@tiscali.nl> wrote in message
news:sk****************************@40tude.net...
Mel wrote:

i have a screen with links etc. whay i would like to do is to create a
layer, the same size as my page, place it right on top of my page, so

that
users can not click on any of my links.

is this possible ?

example would be greeeeeeeeeeeeeeeeet :-)

Just guessing - haven't tried it out:
at the end of your page's code:
<div id="layer">&nbsp;</div>

and in CSS:
div#layer{
position:absolute;
top:0;
left:0;
height:[whatever height your page is]
background:transparent;
}

I don't think it will have the effect you're after though.
If it's a web page, people will
a) get pissed off cause they can't click the links
b) if they're determined, they can still dive into your code and find
the hrefs.

Why don't you just create an image if you only want to show the
picture and not the real thing?

--
Els http://locusmeus.com/
Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo -
Now playing: Thunder - Dirty Love

somehow when the background is anything other than transparent, users can not click on the links, but when its transparent, you can still click on the links.

any help is appreciated


Use a transparent gif as background of the div. (small one, repeated)

--
Els http://locusmeus.com/
Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo -
Now playing: -
norahjones_comeawaywithme_120.nsv&uid=&sessid=&sur facePoint=us.winamp


thanks a lot. you saved ma' day :-)
Jul 21 '05 #10
"Mel" <me**********@hp.com> wrote:
>i have a screen with links etc. whay i would like to do is to create a
>layer, the same size as my page, place it right on top of my page, sothat >users can not click on any of my links.
Why?

--
Spartanicus


Please configure your news client to remove sigs, or do it manually.
i have some internet widgets that i display on the screen as my "help" menu
and therefore its for viewing only


You are not making any sense, providing a url may help.

--
Spartanicus
Jul 21 '05 #11
Spartanicus wrote:
"Mel" <me**********@hp.com> wrote:
i have some internet widgets that i display on the screen as my "help" menu
and therefore its for viewing only


You are not making any sense, providing a url may help.


He's got a Help screen that describes the use of some component of some
web page, and he's copied the actual HTML from that component to the
Help page to create an illustration. But that HTML is just as functional
when added to the Help page as it is on the original page, and he
doesn't want it to be functional--he just wants an illustration.

He *should* make a screen capture and display it instead.
Jul 21 '05 #12
Mel wrote:
"Els" <el*********@tiscali.nl> wrote in message

Use a transparent gif as background of the div. (small one, repeated)


thanks a lot. you saved ma' day :-)


Why is that easier than just making a screen capture and displaying it
as an image *instead of* copying the HTML and then having to cover it
with a transparent layer?
Jul 21 '05 #13
On Wed, 25 May 2005 15:28:16 -0400, Harlan Messinger
<hm*******************@comcast.net> wrote:
Spartanicus wrote:
"Mel" <me**********@hp.com> wrote:
i have some internet widgets that i display on the screen as my "help" menu
and therefore its for viewing only


You are not making any sense, providing a url may help.


He's got a Help screen that describes the use of some component of some web
page, and he's copied the actual HTML from that component to the Help page to
create an illustration. But that HTML is just as functional when added to the
Help page as it is on the original page, and he doesn't want it to be
functional--he just wants an illustration.

He *should* make a screen capture and display it instead.


Is that wise? The page might show up in my browser quite differently than it did
in his as he made his screen capture, adding to the confusing.

--
,-- --<--@ -- PretLetters: 'woest wyf', met vele interesses: ----------.
| weblog | http://home.wanadoo.nl/b.de.zoete/_private/weblog.html |
| webontwerp | http://home.wanadoo.nl/b.de.zoete/html/webontwerp.html |
|zweefvliegen | http://home.wanadoo.nl/b.de.zoete/html/vliegen.html |
`-------------------------------------------------- --<--@ ------------'

Jul 21 '05 #14
Els
Harlan Messinger wrote:
Mel wrote:
"Els" <el*********@tiscali.nl> wrote in message

Use a transparent gif as background of the div. (small one, repeated)


thanks a lot. you saved ma' day :-)


Why is that easier than just making a screen capture and displaying it
as an image *instead of* copying the HTML and then having to cover it
with a transparent layer?


Maybe some people want to enlarge the font?

--
Els http://locusmeus.com/
Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo -
Now playing: - Skatalites - Ska Voovee - 05 - The Don (Part II) (((
Turn Up the Ska! )) (( ...say goodbye to your radio. ::
turnuptheska.com )))
Jul 21 '05 #15
On Wed, 25 May 2005 14:25:51 -0400, Mel <me**********@hp.com> wrote:
"Barbara de Zoete" <b_********@hotmail.com> wrote in message
news:opsrcfi4snx5vgts@zoete_b...
On Wed, 25 May 2005 14:08:42 -0400, Mel <me**********@hp.com> wrote:
i have some internet widgets that i display on the screen as my "help" menu
and therefore its for viewing only and i dont what the users to click on
them and go somewhere else.

with all that said and done,
is it possible ?

Easy. Don't make them links.
--
,-- --<--@ -- PretLetters: 'woest wyf', met vele interesses: ----------.
| weblog | http://home.wanadoo.nl/b.de.zoete/_private/weblog.html |


Please delete the sig(natures) of the messages you reply to if your newsclient
doesn't do that for you.
I DO NOT
No need to shout, thank you very much.
want
to make changes
How am I suppossed to know what you want don't want? Mind reading? I gave you a
possible solution as others did (like the print screen image; good solution too).
can you help ?


I did. If you don't consider it to be helpful, don't blame me.
--
,-- --<--@ -- PretLetters: 'woest wyf', met vele interesses: ----------.
| weblog | http://home.wanadoo.nl/b.de.zoete/_private/weblog.html |
| webontwerp | http://home.wanadoo.nl/b.de.zoete/html/webontwerp.html |
|zweefvliegen | http://home.wanadoo.nl/b.de.zoete/html/vliegen.html |
`-------------------------------------------------- --<--@ ------------'

Jul 21 '05 #16
Els wrote:
Harlan Messinger wrote:

Mel wrote:
"Els" <el*********@tiscali.nl> wrote in message

Use a transparent gif as background of the div. (small one, repeated)

thanks a lot. you saved ma' day :-)


Why is that easier than just making a screen capture and displaying it
as an image *instead of* copying the HTML and then having to cover it
with a transparent layer?

Maybe some people want to enlarge the font?


Hmm, there is that. Although, technically the situation is no different
from a Help page that explains how to use a non-HTML application, or the
controls on some device, where the illustrations would necessarily be
images. So it may be helpful to exploit the fact that the thing being
explained is an HTML presentation instead of something else, but I still
wouldn't say it's strictly necessary.
Jul 21 '05 #17
Barbara de Zoete wrote:
On Wed, 25 May 2005 15:28:16 -0400, Harlan Messinger
<hm*******************@comcast.net> wrote:
He *should* make a screen capture and display it instead.


Is that wise? The page might show up in my browser quite differently
than it did in his as he made his screen capture, adding to the confusing.


I thought Els's point was interesting, but yours is even more
compelling. I'll have to think about that some more.

Jul 21 '05 #18
On Wed, 25 May 2005, Barbara de Zoete wrote:
Is that wise? The page might show up in my browser quite differently
than it did in his as he made his screen capture, adding to the
confusing.


Yes, I was sent a screen capture which I was told proved that the page
was a perfectly adequate size. I viewed it and it was tiny.

On further discussion I found that she was working at 65dpi, and I was
viewing it at 135dpi.

Jul 21 '05 #19
Mel wrote:
Use a transparent gif as background of the div. (small one, repeated)

<snip quoted sig> Please stop quoting sigs.
thanks a lot. you saved ma' day :-)


Not everybody uses a pointing device. You'll probably find that keyboard
users will still get at the controls.

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
Jul 21 '05 #20
Els
David Dorward wrote:
Mel wrote:
Use a transparent gif as background of the div. (small one, repeated)


<snip quoted sig> Please stop quoting sigs.
thanks a lot. you saved ma' day :-)


Not everybody uses a pointing device. You'll probably find that keyboard
users will still get at the controls.


Very true - hadn't thought of that.
Must be /very/ confusing for people (like myself) who mix mouse and
keyboard :S

--
Els http://locusmeus.com/
Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo -
Jul 21 '05 #21

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

87
by: expertware | last post by:
Dear friends, My name is Pamela, I know little about CSS, but I would like to ask a question I have an image on a web page within a css layer: <DIV ID=MyLayer STYLE = "position:...
162
by: techievasant | last post by:
hello everyone, Iam vasant from India.. I have a test+interview on C /C++ in the coming month so plz help me by giving some resources of FAQS, interview questions, tracky questions, multiple...
7
by: Jack Addington | last post by:
I've got a fairly simple application implementation that over time is going to get a lot bigger. I'm really trying to implement it in a way that will facilitate the growth. I am first writing a...
10
by: pcthug | last post by:
Hi All, I am creating multi-tier app in vb.net using visual studio .net. I create a invoice.vb class file with properties, events and methods. This also has a line item collection class...
8
by: Cylix | last post by:
I have a layer which may above some form controls, eg, combo box at background. I found that the combo box is always above the layer, it doesn't matter that I set the z-index of layer to larger...
16
by: MS newsgroup | last post by:
I don't have clear reasons why we need business logic layer and data logic layer instead of having only data logic layer. Are there any good reasons for that?
0
by: krina | last post by:
I am new in this field and have just started learning XML and xslt, Now I am having a XML file.......having structure as follows..... <?xml version="1.0" encoding="UTF-8"?> <page> ...
2
by: orfiyus | last post by:
Hi I am working on a script that that creates charts. So I decided to follow this tutorial using the chart director api. I more or less understand everything going on I just cant seem to find...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.