vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=168)
-   -   how to get links to ... ? (https://vborg.vbsupport.ru/showthread.php?t=190247)

Mecho 09-07-2008 11:02 AM

how to get links to ... ?
 
Hi ,

i need to know how can i get link to this background image :

Quote:

<td width="416" height="171" rowspan="2" align="center" style="background: url($stylevar[imgdir_misc]/header_1.jpg) no-repeat left;">
header_1.jpg should have Link to the Forum (<a href="$vboptions[forumhome].php$session[sessionurl_q]">)


p.s. i know that if i set logo it has link but i dont need logo ATM so i need to give forum link to the Background image.

Any help would be great.

Princeton 09-07-2008 04:42 PM

add an <img tag with the cell...
you can use the clear.gif image and still keep the header_1.jpg as a background

HTML Code:

<td width="416" height="171" rowspan="2" align="center" style="background: url($stylevar[imgdir_misc]/header_1.jpg) no-repeat left;">
  <img src="clear.gif" alt="web site title" border="0" width="??" height="??" />
</td>


Mecho 09-07-2008 07:22 PM

u mean it would be like this :

Quote:

<td width="416" height="171" rowspan="2" align="center" style="background: url($stylevar[imgdir_misc]/header_1.jpg) no-repeat left;">
<a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="clear.gif" alt="web site title" border="0" width="??" height="??" /></a>
and then /header_1.jpg has link ?!

Princeton 09-07-2008 07:54 PM

you got it .. just make sure clear.gif exists (it should be located in forum root)

Mecho 09-07-2008 08:22 PM

i did that but there Still Header_1.jpg has no Link and also there is one Empty line is appear above of the Header .

am i missed something ?

here is what i have now :

Quote:

<td width="416" height="171" rowspan="2" align="center" style="background: url($stylevar[imgdir_misc]/header_1.jpg) no-repeat left;">
<a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="forum/clear.gif" alt="web site title" border="0" width="??" height="??" /></a>
</td>
By this we want to give the forum link to header_1.jpg (which is background of the logo place) !?

Thanks anyway for trying to help.

Lynne 09-07-2008 08:27 PM

You need to put the width and height in the image tag. You cannot leave it as ??

Mecho 09-07-2008 08:42 PM

oops my bad ... it works very well now . Thanks Both of you for help

/resolved.


All times are GMT. The time now is 04:58 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00974 seconds
  • Memory Usage 1,725KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_html_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete