php - Counterpart for <frame> that supports tranparency in chromium browser? -
i have website , in 1 of pages photo album, appears in chromium:
and in firefox, below:
as can see, there white patch left , above gallery box in former picture while in latter there tranparency throughout outside of box. want rid of these white patches. learnt boils down how chromium handles iframes. figured out code fragment needs change transparency achieved in both browsers.
echo "<frameset rows='424px' frameborder=0 >"; echo "<frame name='akc' style='background-color: transparent' noresize='noresize'"; echo "src='aneesh.php?album=" . start() . "'/></frameset>";
so question boils down getting replacement code produces same result in chromium in firefox. want complete replacement frame tag. (a tag can targeted frames, can contain webpages - frame use 'src' attribute - , support transparency)
you use <div>
use <?php include('aneesh.php?album=whatever'); ?>
include php script within div.
if wanted change contents of <div>
on fly, use jquery's ajax functions request output of album.php
script write them <div>
id, (note: untested, it's along right lines):
<script> $((){ var album = start(); $.ajax({ type: "get", url: "aneesh.php", data: { 'album': album } }).done(function( msg ) { $('#album').html = msg; }); }); </script> ... <div id='album'></div>
frames are obsolete, haven't been in common use since 90s , pose massive issues people using non-standard browsing methods. don't use them.
Comments
Post a Comment