d2jsp
Log InRegister
d2jsp Forums > Off-Topic > Computers & IT > Programming & Development > No One On Web Languages
Add Reply New Topic New Poll
Member
Posts: 11,857
Joined: Nov 8 2007
Gold: 118.98
Aug 27 2014 10:23am
I need a quick HTML problem solved and I'll give you 20 fg for it.

It's nothing too difficult, but it's more than I have time to figure out how to do, and I'm trying to get it done for a friend ASAP.

From my other thread:

Quote (flipypy @ Aug 27 2014 10:05am)
A friend has a site and he wants me to simply place one image on the screen where a section of that image is clickable for a URL.

He wants the image to be able to stay centered and cover the entire page (basically like a background), as well as stretch and shrink with the page if you change the window size (just most content of most sites stays centered when you change your window size).

There is a section of text on the image that he wants me to make clickable as a link.

I know this should probably be easy, but I want to get this done as soon as possible and I'm not great with this sort of thing. I'm just helping a friend out.

I'll give all of my fg to anyone who gives me a working solution.

Member
Posts: 11,637
Joined: Feb 2 2004
Gold: 434.84
Aug 27 2014 10:27am
If he wants the image to actually scale arbitrarily it's going to have to be SVG. I'm not sure about the clickable link with an SVG file, but with the compressed formats you could just slice the image and make the slice with the text clickable. That doesn't solve the scaling problem.
Member
Posts: 11,857
Joined: Nov 8 2007
Gold: 118.98
Aug 27 2014 11:03am
Quote (rockonkenshin @ Aug 27 2014 10:27am)
If he wants the image to actually scale arbitrarily it's going to have to be SVG. I'm not sure about the clickable link with an SVG file, but with the compressed formats you could just slice the image and make the slice with the text clickable. That doesn't solve the scaling problem.


It doesn't have to be SVG because there's CSS for images to cover image scaling, I just can't exactly figure out how to put it together.
Member
Posts: 11,637
Joined: Feb 2 2004
Gold: 434.84
Aug 27 2014 01:42pm
Quote (flipypy @ Aug 27 2014 12:03pm)
It doesn't have to be SVG because there's CSS for images to cover image scaling, I just can't exactly figure out how to put it together.


I think I misunderstood. Does this help? http://unstoppablerobotninja.com/entry/fluid-images/
Member
Posts: 11,857
Joined: Nov 8 2007
Gold: 118.98
Aug 27 2014 03:29pm
Quote (rockonkenshin @ Aug 27 2014 01:42pm)
I think I misunderstood. Does this help? http://unstoppablerobotninja.com/entry/fluid-images/


Yeah, I actually tried some of that stuff, but the images get cut off. I google'd a whole bunch of crap but I couldn't get it exactly how I wanted it.

I actually just found a way to fix my problem a different way entirely, but I'll send you the fg for at least trying.
Member
Posts: 105,139
Joined: Apr 25 2006
Gold: 10,475.00
Aug 27 2014 03:41pm
Quote (flipypy @ Aug 27 2014 05:29pm)
I actually just found a way to fix my problem a different way entirely.


Ain't that always the way. ;)

Go Back To Programming & Development Topic List
Add Reply New Topic New Poll