color link image

poivre / 2009-03-26 10:06:20   

Hi,

I know this has been answered here:

http://www.indexhibit.org/forum/thread/250/

I tried the solution proposed but with no success... Since I'm using iwakami plugin to display the pictures I looked at iwakami plugin and added this to the proposed css

#img-container span.backgrounded a,
#img-container a.thickbox,
#img-container a.thumb-img,
#img-container a.img-bot,
#img-container a.pics,
#img-container #d-col1 a { background: transparent; }

Does anyone know how to get rid of the link color for the pictures? The only solution i found was the display: block; ... But this messed the positioning of my logo on my home page...

here is an example where the links on images are visible...

http://poivre.net/info/march/

Thanks

All the best

arsondpi / 2009-03-26 12:16:40   

double post - sorry

arsondpi / 2009-03-26 12:17:48   

can't seem to find the css selector for this - I wish someone can help out on this one cause I'm confused....

Nevertheless open your exhibit.iwakami.php and find line 65. Change it to:

  1. $a .= "n<div id='p$i' class='pic' $off><a href='#' style='background: transparent;' onclick="show_image($next); return false;"><img src='" . BASEURL . GIMGS . "/$go[media_file]' width='" . $x[0] . "' height='" . $x[1] . "' class='img-bot' /></a><p>{$title}<br />{$caption}</p></div>n";

Notice that I only added a style="background: transparent;" in the href tag... It will do exactly what you want.

poivre / 2009-03-26 14:03:11   

efcharisto ,

But it doesn't seem to change... I think it has to do with "onclick.... something" and "img-bot" but where and how. In FF I've managed once to edit the html related to "onclick...." by putting the transparent style. But cannot find it again !!???

arsondpi / 2009-03-26 16:04:49   

I hope you added the style='background: transparent;' with single quotes and you didn't copy/paste the code above (forward/backward slashes can't be typed in the forum within code tags and they're missing from the snippet above)
I have tested this and it works; copy/paste:

  1. $a .= "\n<div id='p$i' class='pic' $off><a href='#' style='background: transparent;' onclick=\"show_image($next); return false;\"><img src='" . BASEURL . GIMGS . "/$go[media_file]' width='" . $x[0] . "' height='" . $x[1] . "' class='img-bot' /></a><p>{$title}<br />{$caption}</p></div>\n";
poivre / 2009-03-26 17:36:27   

I am going crazy... I am sure I copy/paste the code above and I get the following error

Parse error: syntax error, unexpected '"' in /home/poivrene/public_html/ndxz-studio/site/plugin/exhibit.iwakami.php on line 65

!!!!!!!!!!!!!!!!

arsondpi / 2009-03-26 17:53:49   

I don't know what to say - I've checked this again in mamp and my server and it works...

poivre / 2009-03-26 17:53:49   

anyway I managed to add the "style" code as you suggested.... The pages works again but color link is still there...

mmmmm ! I will find....;-)

Efcharisto Poly

arsondpi / 2009-03-26 17:55:34   

Poivre check the source of your page - I see a symbol (ÔøΩ) instead of a space inbetween 'background: and transparent;'
This may have to do with your text editor...
Try inserting the code above but instead type: style='background:transparent;'

poivre / 2009-03-26 18:10:21   

Thank you very much for your patience....

it Works !!!

sorry for this stupid "space" didn't know it could affect the syntax...

All the best

"den fouvamai tipota
den elpizo tipota
ime lefteros"

Nikos Kazantzakis

arsondpi / 2009-03-26 21:57:39   

;-)

Παρακαλώ!
C'est moi qui vous remercie

matters / 2009-11-17 15:28:11   

Hi,

Just tried all this and still having problems in FF. Had already gotten rid of all onclick 'decorations' in other browsers, but for some reason in FF, I still get a dotted border when you click on the image...

Also, has anyone figured out how to integrate a < > with Iwakami to allow you to go backwards through the images as well as forwards? I saw someone asked about it on this thread, but I can't seem to find any answers.

Any guidance would be appreciated.

My site is MATTER.

arsondpi / 2009-11-17 17:47:17   

try

a { outline: none; }

As for the second question search the forum with keywords iwakami slideshow.

matters / 2009-11-17 17:54:00   

Excellent! Thank you.

I have searched and this is what I've put together so far: here.

I'm having some trouble with the prev button (

matters / 2009-11-17 17:59:34   
  1. oops...last post didn't come out right...basically, if you are the last image and click the prev button, it goes to the first image instead of the one before. 
  2. I think this is where I'm messing up. If you could explain this syntax to me, that would probably help me loads:
  3. $next = ($i == $total) ? 1 : $i+1; 
  4. I added this but its not working quite right:
  5. $next = ($i == $total) ? 1 : $i+1; 
  6. ¬†¬†¬†¬†¬†¬†¬†¬†$prev = ($i == $total) ? 1: $i-1;
  7.                   if ($prev == 0) $prev = $total;

Any ideas?

matters / 2009-11-17 18:01:05   
  1. ughh...sorry about that.
  2. Here it is again:
  3.  oops...last post didn't come out right...basically, if you are the last image and click the prev button, it goes to the first image instead of the one before. 
  4. I think this is where I'm messing up. If you could explain this syntax to me, that would probably help me loads:
  5. $next = ($i == $total) ? 1 : $i+1; 
  6. I added this but its not working quite right:
  7. $next = ($i == $total) ? 1 : $i+1; 
  8.         $prev = ($i == $total) ? 1: $i-1;
  9.                   if ($prev == 0) $prev = $total;
  10. Any ideas?
matters / 2009-11-17 18:02:11   

sorry, i must be doing something wrong with my code tags. It looked fine in the preview.
Anyway, question still stands.

matters / 2009-11-17 18:33:53   
  1. ok, I figured it out...
  2. I just didn't understand the shorthand...
  3. in case anyone else is having trouble with the php...
  4.  $next = ($i == $total) ? 1 : $i+1;
  5. translates to:
  1. if($i==$total) 
  2. $next=1;
  3. else
  4. $next=$i+1;

fuchsia / 2010-07-27 14:42:24   

Hello,

Thanks to everyone for all the great info on customizing Indexhibit. I am having difficulty removing the link color for the pictures in my Iwakami2 exhibition format that I customized. Since the php file is set up slightly differently then the original iwakami file, I am having trouble figuring out where the style='background:transparent;'code should go. I've tried adding it at line 66 of the exhibit.iwakami2.php file but to no avail! Can anyone spot what I'm doing wrong?

my site

Thanks in advance!

Rachael

fuchsia / 2010-07-28 09:33:56   

Ok figured it out :) I had to add the style='background: transparent;'code before every onclick='show_image in the exhibit.iwakami2.php file to get rid of the background color hover under the image.

diablitomx / 2010-07-28 20:36:31   

I have the same problem on my site

marcelo , my images on the exhibitions have the same color as the text on menu, i think i´ve messed a lot on the css without really knowing what to change because i hardly understand code, any help will be highly appreciated. gracias.

bazinga / 2010-08-27 07:12:00   

anybody know i can constanly flickering the background image of the hover??
thanks

arsondpi / 2010-08-27 07:14:43   

...where?

bazinga / 2010-08-28 01:26:45   

http://www.caseymcgonagle.com/

like this when your mouse over thel ink~~~it will blink~~~haha

arsondpi / 2010-08-28 07:25:37   

...it's an animated gif.

What I meant is if you have an indexhibit site?

This thread has been closed, thank you.