Results 1 to 6 of 6

Thread: designing for safari problem

  1. #1
    designing for safari problem
    Hi everyone,

    Just came across this board . And thankfully too !

    Hope some good person can give me a heads-up on a webpage, I've been working on.

    Specifically user-activated pop ups utilizing php and javascript
    It works on IE, Netscape, Mozilla, Opera - but I'll be darned if for some reason the picture in the pop up doesn't show in Safari. IE on Mac works fine.

    The page is on this testing domain

    Any and all suggestions very much welcome

    Thanks !

  2. #2

    Murlyn's Avatar
    Member Since
    Jun 11, 2003
    Mount Vernon, WA
    Well my advice is to use a different javascript for this.. it's pretty interesting code and Im not sure exactly why you are doing a browser check..

    I have a bit of code that will do a simple popup window plus a simple window resize. You'll need something like php to get the right image though..

  3. #3
    Hi Murlyn,

    Doing a browser check is a normal part of doing websites for me. Unfortunately, we do not have Macs in the office, so it recently came to our attention that the pop up image doesn't show up.

    We really had to modify this Javascript code and incorporate php so that the client can upload his own images.

    Don't really want to use a different script.... worked too hard to get this one to work, with the mouseovers, etc.

    It's weird that the Javascript pop up works, but just the pic doesn't show up.

    Any ideas how I can tweak the code to make it work ?


  4. #4

    Murlyn's Avatar
    Member Since
    Jun 11, 2003
    Mount Vernon, WA
    My guess is that, you first call about:blank.. and I think from there safari doesnt allow you to do anything else. The problem with browser checks is that you're probably not using code that all browser can see If you write code that all browser can use then you don't have to worry about checking.. and I understand that you've probably done that and you are needing very specialized scripts, but that comment was more for anyone reading this thread

    Ok seriously what I would do is just use javascript to open up another window with a certain get variable and then use PHP to parse the $_GET variable and show what image you are wanting...

    And about the "worked too hard to get this one to work..".. well.. it doesnt.. It's hard for me to get certain clients to see that.. sometimes they go with a very bad design.. why? because it was so hard to put together.. when they could actually go with a much better design.. but they didn't put their blood sweat and tears into it.. so they dont.

    Anyways what I said with the PHP would be the easiest way of doing it. If it is someone else that does PHP you can just post here again and I can write a quick little script that will help you out


  5. #5
    Hey Murlyn ,

    Thanks for your reply.

    You're killin' me with the idea of re-writing the script LOL

    When it was first completed, I had a hard time with Netscape, that's why the browser check. And then getting the hover and onclick to work ................ whew !

    The php code is pretty simple. variables are placed where the pictures are to go. It was done so the pics can be uploaded and placed without messing with the code on the page.

    So, you don't think that the code can be tweaked a bit for Safari?
    It just seems weird that everything else with the code works !! ..........except the pic doesn't show up :confused:

  6. #6

    Murlyn's Avatar
    Member Since
    Jun 11, 2003
    Mount Vernon, WA
    Yeah I agree, but if you look at the source code.. the javascript is most definitely not writing to the page. If you can use maybe a document.write or something like that.. it just might work.. or throw all that write stuff into a variable and then do a umm.. not opener.write, but.. hmm... child.write? or actually whatever you named that new window.. do a name.document.write.. I believe.. maybe that would work. At least it gives you a direction to go with your current code

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. help with web designing
    By inonothing in forum Web Design and Hosting
    Replies: 12
    Last Post: 05-31-2009, 04:18 AM
  2. Game designing
    By Rtas09 in forum Schweb's Lounge
    Replies: 1
    Last Post: 01-16-2008, 08:03 AM
  3. Designing Software
    By jsloan10 in forum Schweb's Lounge
    Replies: 0
    Last Post: 12-08-2006, 04:51 PM
  4. Help designing e-newsletter
    By spoof in forum Web Design and Hosting
    Replies: 4
    Last Post: 03-04-2006, 04:23 AM
  5. Designing HTML for safari
    By Stanley in forum Web Design and Hosting
    Replies: 11
    Last Post: 10-25-2003, 05:24 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts