Jump to content

sweetname

Members
  • Posts

    18
  • Joined

  • Last visited

    Never

Everything posted by sweetname

  1. The iframe tag wont validate in xhtml 1.0 strict and everything I read on blogs and such state that the object tag has replaced the iframe, however nobody shows how to fit the object height to the content in it. If I were to use a hidden iframe, what would be the point of using the object in the first place? I am a little confused by the suggestion? Please explain? Thanks
  2. I know you can't do it that way. That is how it is done for iframes. I was trying to show the effect I am trying to mimic with the object. I want to use the object tag instead of iframe. Is it possible to achieve something similar with an object? I want to use an object tag so that I can validate. Thanks
  3. the html object tag. here is an example link: http://aplus.rs/web-dev/insert-html-page-into-another-html-page/ (i couldn't post the code for some reason the comments were messing up the block.)
  4. I originally posted a question in the html section, but this is really more of a javascript question I think. Sorry about that. I have loaded a html page into an object (similar to an iframe) and I cannot figure out how to dynamically set the height. I have tried to approach it like an iframe, but this doesn't work. http://www.mattcutts.com/blog/iframe-height-scrollbar-example/ Can anyone help me figure out the height to set my object so that it doesn't have scroll bars? Thanks
  5. I am working on a page where I need an iframe. Since iframes don't validate in xhtml 1.0 strict I want to use the object method. I have the object displaying my page, but I cannot figure out how to assign the correct height to the object. How can I make my object stretch to fit the contents of the page loaded into it? Thanks
  6. crossbrowsertesting is free for 5 mins at a time and its up right now. Was just telling you of another site because you said that one was down. You can also use as many 5 minute sessions as you like.
  7. The side bar is fixed in ie7 now. Check out http://crossbrowsertesting.com/ You can test in all browsers there
  8. So nobody really likes the separated 3 column look? When you say detached do you mean you think it would look better with a solid colored background div wrapping the three sections instead of them just floating there with the background image showing thu?
  9. Hey DarkWater. I think you should center your layout. It only takes up the left third of my screen at 2560 x 1600. **edit: It doesn't center in IE7 but does in firefox 3
  10. Yea sorry about the source. I stripped all the easy to get white space out with a regex when I uploaded it. I'll have to work on the logo and stuff. Ty
  11. Hi. I have just redesigned this page: http://www.greatoutdooronline.com/ and I was hoping to get some feedback. The Inventory page is the one that links to most of the sites content. Only two places in the Inventory have had pictures and videos uploaded so I will provide a direct link to them. http://www.greatoutdooronline.com/inventory/?state=al;city=Andalusia -and- http://www.greatoutdooronline.com/inventory/?state=fl;city=Chipley Please tell me your opinion. Thanks
  12. Sorry Skunkbad, I totally missed your comment about gzip compression giving ie6 trouble. That was it. Thanks
  13. First off, thank you for the replies =) I am sending the css header. I am not caching it atm b/c I am updating it, but php can be cached if you output the headers correctly. If you include it like that in each page then you have defeated the whole purpose of using an external stylesheet. Unless you are talking about including it in a css file (I may have misread your reply)? But then I would have to force apache to treat all of my .css as php files which is what I am trying to avoid. I don't know if I made it clear in my first post... IE6 will use the php code as css. It just won't do it until you refresh the page. Like you load the page and you have a page with no styles (the page has the default white background and the content is displayed as it is typed in the source). I am hoping someone knows a way to get IE6 to use the css in a php file without refreshing, or if someone knows it can't be done that would be just as good I guess. I think I have given enough information, but if I have left something out you need just let me know and I'll post it.
  14. Hi. I googled this and searched the forum and couldn't find anything, so sorry if this is supposed to be common knowledge. I have a page that correctly displays in ie6 with the css provided as: <link href="/css/style.css" rel="stylesheet" type="text/css" media="all"/> However if I use a php extension <link href="/css/style.php" rel="stylesheet" type="text/css" media="all"/> the page displays as if it has no css style attached to it unless the page is refreshed. Then after a refresh it displays properly. The css provided by the php script and the .css file is the same because I just copied it from the style.php output. The only difference in the page is that link statement, so that has to be what is causing the problem. Has anyone had this problem before? And is there any way to fix it without forcing my webserver to parse all css files as php? I found this a strange problem because I.E. 5 displays fine and so does I.E. 7. Hopefully someone can solve this? =)
  15. I ended up deciding that it would be better to cache the resized images on disk and then opening them with fopen, but I never did get this to work without saving the image to disk and using fopen. I could get the same image in the browser using popen or proc_open but Ming didn't like either of those ways. Ming was only happy with fopen, so I don't know if it was something I was doing wrong or just something to do with ming... I am using v.3 and there is v.4.2 out now or something like that but I don't want to change it since it is working lol.
  16. I also tried using popen with my script, and it gives me an error: Jpeg marker not found where expected. That is closer than the unregonized file format error though I think. I am trying to play around with Fopen and the streams but everything I do is just giving me the source code from my script, not the binary like if I use Fopen on an image. Popen is giving me the binary on my script, but it is saying the Jpeg marker is not found where expected in ming. If you could point me to somewhere to read about getting fopen to run my script instead of just grabbing its contents, I would be very grateful...
  17. are you sure? When I use fopen on my script it just gives me a copy of php code, but when I use passthru on it, it gives me the same binary output as when I use fopen and fpassthru on the saved image that i generated with my script, except instead of outputting it directly, I saved it to a file. I am not very experienced in using filters (I am kinda self teaching myself how to get around with php) so I am not quite sure how I would be able to create a pointer with fopen that would give the binary of an image generated with my script. Would you mind pointing me in the right direction or giving me a small example please? Thanks Edit: I have written my image resizing script to be run from the command line if that makes any difference to you
  18. Hi. I am trying to get a gd script I wrote to work with ming to make a dynamically sized slide show. I am using the gd script as a CLI script and the ming script is being accessed by the browser. If I save the resized image to a file and load it into my script with fopen, the script runs without any errors. However when I use passthru (I think passthru is the correct function to use? Php.net says that if you are dealing with something like image streams you should use this.) ming gives an error: Fatal error: SWFBitmap::__construct() [<a href='function.SWFBitmap---construct'>function.SWFBitmap---construct</a>]: Unrecognised file type in ... ... on line 147 . I copy and pasted that error. I just cut out the file path because it was really long and didnt fit on my screen very well. I am using imagejpeg($tn,NULL,100); to export my image. In my ming file I am using the following command to call my script: $image = new SWFBitmap(passthru("'$resizeScript' '$filename' '$maxWidth' '$maxHeight' '$imageQuality'")); where $resizeScript = /path/to/gd/script $filename = /path/to/image/for/script $maxWidth = max width for the resized image $maxHeight = max height for the resized image $imageQuality = the jpeg quality number I am not quite sure why this throws an error, because if I am reading the documentation correctly, it should be the same thing as if I saved the resized image to /path/to/resizedImg.jpg and then opened it with fopen("/path/to/resizedImg.jpg ",'rb') , which works with ming and makes my slideshow Is passthru the correct function to be using here? If you need to see more code I can put it up. I forgot to mention: I am running PHP Version 5.2.0-8+etch10 on debian etch and ming version 0.3.0
×
×
  • 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.