GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Designers: How do you do a button inside the css so its not downloadable? (https://gfy.com/showthread.php?t=1083763)

clickhappy 10-01-2012 09:58 PM

Designers: How do you do a button inside the css so its not downloadable?
 
For example if you go to http://www.amazon.com/ and hover over the shopping cart, you get a flyout meny with a gold button that says "View Cart"

You cant right click and download that image, and you cant find the directory it came from.

how do you do that?

I'm so used to doing it in html but this .css is more professional

Zoxxa 10-01-2012 10:04 PM

I looked at the button, but didn't bother checking the source to see exactly how they did it.
You could make that button easily with css gradients and a solid border.

helterskelter808 10-01-2012 10:09 PM

Everything is downloadable. It's just a background 'sprite' image in a CSS file.

http://g-ecx.images-amazon.com/image...394051227_.png

clickhappy 10-01-2012 10:26 PM

Quote:

Originally Posted by Zoxxa (Post 19222568)
I looked at the button, but didn't bother checking the source to see exactly how they did it.
You could make that button easily with css gradients and a solid border.

im wondering the code of how they put it on the page without it being downloadable by right clicking >> save as

Turboface 10-01-2012 11:08 PM

Quote:

Originally Posted by helterskelter808 (Post 19222574)
Everything is downloadable

:winkwink:

BIGTYMER 10-01-2012 11:15 PM

Quote:

Originally Posted by pornopete (Post 19222615)
<img src="img.png" downloadable="0">

Fixed it for you. :winkwink:

Zoxxa 10-01-2012 11:26 PM

Quote:

Originally Posted by clickhappy (Post 19222584)
im wondering the code of how they put it on the page without it being downloadable by right clicking >> save as

Well, my technique is pure css, you couldn't download anything, there are no graphics at all.

They also may have used the sprite graphic as shown before as a background image and not as a normal img src="" type graphics.

v4 media 10-01-2012 11:48 PM

Look at the code, it's self explanatory.

nextri 10-02-2012 02:18 AM

Use firebug and it will tell you everything you need to know:

http://www.camelmedia.net/jing/SNAG_Program-0056.png

ottopottomouse 10-02-2012 03:15 AM

http://g-ecx.images-amazon.com/image...394051227_.png

CurrentlySober 10-02-2012 03:18 AM

Just dont upload it to the server?

helterskelter808 10-02-2012 06:04 AM

Quote:

Originally Posted by helterskelter808 (Post 19222574)
Everything is downloadable. It's just a background 'sprite' image in a CSS file.

http://g-ecx.images-amazon.com/images/G/01/gno/beacon/BeaconSprite-US-01._V394051227_.png

Quote:

Originally Posted by clickhappy (Post 19222584)
im wondering the code of how they put it on the page without it being downloadable by right clicking >> save as

Quote:

Originally Posted by Zoxxa (Post 19222633)
They also may have used the sprite graphic as shown before as a background image and not as a normal img src="" type graphics.

Huh? Is my post not visible or something?

Quote:

Originally Posted by nextri (Post 19222747)
Use firebug and it will tell you everything you need to know:

Firebug isn't even needed, just right click and "Inspect Element".


All times are GMT -7. The time now is 11:39 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123