fahl
08-30-2007, 08:56 AM
Hi,Very new to this,Tried everywhere to find answer,Just found this site.
Trying to use this code for my site,works fine but opens at bottom of page so useres have to scroll to top before reading.
// ############################## Start Code ##############################
echo "<!-- iframe -->
<div align=\"center\">
<iframe src=\"$if_scr\" height=\"$if_height\" width=\"$if_width\" name=\"$if_name\" frameborder=\"$if_border\" scrolling=\"$if_scroll\">";
if($if_alt_on != 0) { //IF STATEMENT HERE FOR Alt Text ON/OFF
echo "$if_alt_text</br><a href=\"$if_alt_link\"";
if($if_alt_newwin != 0) { //IF STATEMENT HERE FOR Alt Text ON/OFF
echo " target=\"_blank\">$if_alt_link</a>";
}else{
echo ">$if_alt_link</a>";
};
}else{
echo "";
};
echo "</iframe>
</div>
<!-- End iframe -->";
Is there anyway of getting it to open at top of page,or dynamicly resize?
I have seen the Iframe SSI script II script but to be honest i have no idea how to use it in conjunction with above
Thanx
Trying to use this code for my site,works fine but opens at bottom of page so useres have to scroll to top before reading.
// ############################## Start Code ##############################
echo "<!-- iframe -->
<div align=\"center\">
<iframe src=\"$if_scr\" height=\"$if_height\" width=\"$if_width\" name=\"$if_name\" frameborder=\"$if_border\" scrolling=\"$if_scroll\">";
if($if_alt_on != 0) { //IF STATEMENT HERE FOR Alt Text ON/OFF
echo "$if_alt_text</br><a href=\"$if_alt_link\"";
if($if_alt_newwin != 0) { //IF STATEMENT HERE FOR Alt Text ON/OFF
echo " target=\"_blank\">$if_alt_link</a>";
}else{
echo ">$if_alt_link</a>";
};
}else{
echo "";
};
echo "</iframe>
</div>
<!-- End iframe -->";
Is there anyway of getting it to open at top of page,or dynamicly resize?
I have seen the Iframe SSI script II script but to be honest i have no idea how to use it in conjunction with above
Thanx