/    Sign up×
Community /Pin to ProfileBookmark

Need some help with my page

[B]This only works on a MAC[/B]

I was hoping someone could help me with this problem. Here’s the link to my site.

[URL=http://artstech.cfa.ilstu.edu/classes/388-02/10/final/final.html]Click Here!![/URL]

Basically you type in a site in the first form and hit submit. When entering a site you have to put in the entire address including the [url]http://[/url] and so on. This will open a new window with that site. Then click the radio button for “mix up some images on site.” When you hit the second submit it should put all the images from the chosen site into the blank popup. The project works when I run it off my computer and I can grab images from any site but the moment it’s on the server it doesn’t work. I’ve tried putting it on other servers but I get the same result.

As a test to see how it should work use this address as the chosen site in the first form.
[url]http://artstech.cfa.ilstu.edu/classes/388-02/10[/url]
and then follow the above.

So it works when I go to a site on the same server but that’s it; even though, like I said, I can get it to work on my machine when it’s off the server.

Any Suggestions??

Thanks for the help

Dave

to post a comment
JavaScript

2 Comments(s)

Copy linkTweet thisAlerts:
@gil_davisApr 22.2004 — [i]Originally posted by dchil82 [/i]

[B]So it works when I go to a site on the same server but that's it; even though, like I said, I can get it to work on my machine when it's off the server.[/B][/QUOTE]

Security features in the browser will not allow you to modify or access a page in a foreign domain (on a different server). There is no workaround. The client is not allowed to get javascript access.
Copy linkTweet thisAlerts:
@dchil82authorApr 22.2004 — Thats what I was thinking. That it would be something with permissions but was hoping there to be a way around it.

Thanks
×

Success!

Help @dchil82 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.16,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...