Jump to content
  • 0

Народ помогите со скриптом альбома


AkwiaR
 Share

Question

Кроче скрипт такой:

<script language=JavaScript type=text/javascript>

var i=1

function next(){

i++

if (i==9) i=8

s="f"+i+".htm"

document.all.innerframe.src=s

}

function prev(){

i--

if (i==0) i=1

s="f"+i+".htm"

document.all.innerframe.src=s

}

function GotoNomber(nomber){

i=nomber

s="f"+nomber+".htm"

document.all.innerframe.src=s

}

function nombersShow(){

document.all.raw.style.display=""

document.all.raw.style.visibility="visible"

document.all.nombers.href="java script:nombersHide()"

}

function nombersHide(){

document.all.raw.style.display="none"

document.all.raw.style.visibility="hidden"

document.all.nombers.href="java script:nombersShow()"

}

</SCRIPT>

<!-- HEAD END HERE -->

</head>

<body bgcolor="#EDEDED" text="#000000" link="#000000" topmargin="0" leftmargin="0">

<center>

<!-- BODY START HERE -->

<TABLE align=center border=1 borderColor=#000000 cellPadding=0 cellSpacing=0 height=400 width="88%">

<TR><TD class=headcolor height=20>    Каталог фотографий</TD>

<TD align=middle class=headcolor width=260>  

<A href="java script:prev()"><<Предыдущая</A>  

<A href="java script:nombersShow()" id=nombers title="Переход по номеру"><B><№></B></A>  

<A href="java script:next()">Следующая>></A>  

</TD></TR>

<TR id=raw style="DISPLAY: none; VISIBILITY: hidden"><TD align=right class=headcolor colSpan=2 height=1>

<A href="java script:GotoNomber(1)">1</A>

<A href="java script:GotoNomber(2)">2</A>

<A href="java script:GotoNomber(3)">3</A>

<A href="java script:GotoNomber(4)">4</A>

<A href="java script:GotoNomber(5)">5</A>

<A href="java script:GotoNomber(6)">6</A>

<A href="java script:GotoNomber(7)">7</A>

<A href="java script:GotoNomber(8)">8</A>

    </TD></TR>

<TR><TD align=middle class=bodycolor colSpan=2>

<IFRAME align=middle frameBorder=0 height="100%" id=innerframe src="f1.htm"

width="100%"></IFRAME></TD></TR></TBODY></TABLE>

<!-- BODY END HERE -->

</center>

Нужно чтоб кортинка была на всё поле отведённое для неё, а она в высоту сплющена.ППц помогите что изменить????

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. See more about our Guidelines and Privacy Policy