Questions tagged [image-replacement]
59 questions
0
votes
1 answer
How to replace
to html code with a php function
I want to replace a image with html code, that must be the output of a php function.
whenever a image tag is found in an html document, it should be passed to a php function and replaced with a html strings.
my expectation is like below.
index.htm…

Sakthitharan
- 49
- 1
- 5
0
votes
1 answer
How to replace image src based on screen size in Java Script
I am changing my background image with the help of Java Script and I have both desktop version image and mobile version image.
When the screen size is reduced to below 600px, I want my desktop version images should be replaced with mobile version…

Sai Kumar Jagu
- 1
- 1
0
votes
2 answers
Replace '&' with an image using jQuery/CSS?
Is there a way I can change the basic text version of '&' and replace it with an image? I was thinking can we do it in jQuery? I don't want to use php for this.
Or is there a way to target it using css?
Thanks.

Naota
- 668
- 2
- 12
- 17
0
votes
1 answer
Image replacement issue
I am confused by selecting the best technique for image replacement in web design.
Here at this weblog some techniques are provided:
http://css-tricks.com/css-image-replacement/
Which technique in image replacement is better?
Why should we use css…

hd.
- 17,596
- 46
- 115
- 165
0
votes
1 answer
CSS using images to replace horizontal menu links but disappears in IE7
After a long time of trying things I still not have come any closer, I do not know how to make the menu for this website (found here) I have appear in IE7.
I am using a css image replacement technique to achieve this result, currently I have a html…

matthew
- 703
- 2
- 9
- 24
0
votes
2 answers
Wordpress FLIR (Facelift Image Replacement) plugin clipping off end of text
I'm using the FLIR for Wordpress plugin (v0.8.9.2) with FancyFonts enabled. I'm running Wordpress 3.1. The problem I'm having is that it appears the plugin is cutting off a couple pixels off of the end of some of the text that it generates. It…

Joel Beckham
- 18,254
- 3
- 35
- 58
0
votes
2 answers
Replace background image with GIF once loaded
I am facing a bit of an issue and cant seem to find a solution. I have a section tag
This simply loads a background image
.background-gif {
background: url(../images/image.gif) no-repeat top;
…

katie hudson
- 2,765
- 13
- 50
- 93
0
votes
2 answers
Mouseover on radio button replacement?
I'm using jQuery to replace my radio buttons on this page - http://www.justdoors.co/product-selection/ and was wondering if it would be possible to add a mouseover effect as well?
I would like for the grey arrows that turn green when selected to…

Vince P
- 1,781
- 7
- 29
- 67
0
votes
4 answers
Using a photo as in CSS
In my school, they said this was the way to go if we used an image as a title with a special font for ex. Now, I'm trying this but I don't really understand
1) why you should do it
2) it doesn't seem to show up unless it is given a specific…

Lucas Verhoest
- 265
- 1
- 5
- 18
0
votes
2 answers
jquery: radio button replacement and keyword matching
I want to replace my radio buttons with images, here is my html which will be generated by the system,
-
…

Run
- 54,938
- 169
- 450
- 748
0
votes
0 answers
setImageResource works intermittently
Sometimes setImageResource works, and sometimes it doesn't, why does this scenario work:
edit4.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
mySpeech = edit3.getText().toString();
…

Wraithious
- 385
- 2
- 11
0
votes
3 answers
IE6 PNG Replace: How to make a nested clickable?
For the purposes of this question, consider this:
The Problem: In IE6, the is not clickable. Here's the…

dclowd9901
- 6,756
- 9
- 44
- 63
0
votes
2 answers
Replace anonymous content but not child elements
I have a parent container that has some text (anonymous block) and a child element (a div or a pseudo-element).
I am taking a look to the Image Replacement Museum but am not sure about what is the best solution for my case.
I need to hide the text…

Kamafeather
- 8,663
- 14
- 69
- 99
0
votes
2 answers
change text and image on click in slideshow
I created a slideshow that toggles before and after images on click. I'm trying to also get the caption for each image to simultaneously change with each click. It works on each individual image, but when the user moves to the next slide the text…

c_sea
- 153
- 1
- 2
- 10
0
votes
3 answers
Replace list item with image
I would like to replace a list item with an image.
The list item I wish to replace is the first list item class="main-logo".
My questions are as follows.
1.Do I do the replacement on the .main-logo or on the .logo? 2.What is the best technique to…

codemax
- 1,322
- 10
- 19