Javascript and Blogger

Are there any limitations when it comes to using some of the scripts from scriptaculous?

i’ve tried to use a few like the target hide layer and the combo fx slide down, but when i upload everything they don’t work on my blogger site?

any ideas?


Freeway5beta mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Blogger works by reading your site layout from your server, and then
doing mysterious things with that content on their server before
sending it to your readers. This violates a basic rule of JavaScript.
All content that is to be manipulated by JavaScript must come from
the same domain as the script itself. This is a security feature, to
keep banner ads from wrecking your life or something like that. (Oh,
wait – they already have!)

So this isn’t going to work with Blogger. If you host your own blog
on your server with one of the hundreds of blog options out there,
then you can use all the JavaScript effects you want.

Walter

On Mar 8, 2008, at 12:20 AM, Brian wrote:

Are there any limitations when it comes to using some of the
scripts from scriptaculous?

i’ve tried to use a few like the target hide layer and the combo fx
slide down, but when i upload everything they don’t work on my
blogger site?

any ideas?


Freeway5beta mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


Freeway5beta mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Sometime around 8/3/08 (at 10:14 -0500) Walter Lee Davis said:

All content that is to be manipulated by JavaScript must come from
the same domain as the script itself.

How about if the option to host the Blogger data on the user’s own
FTP space is used?

k


Freeway5beta mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

That would be worth experimenting with, but the issue is when you
navigate to http://myblog.blogger.com, all of the scripts in the
page have to come from within the blogger.com domain as well. If
there is some way to type in http://myblog.mydomain.com and
silently use the blogger interface within something hosted on your
server, then that would work. It’s part of the sandbox rules of
JavaScript.

Walter

On Mar 8, 2008, at 3:27 PM, Keith Martin wrote:

Sometime around 8/3/08 (at 10:14 -0500) Walter Lee Davis said:

All content that is to be manipulated by JavaScript must come from
the same domain as the script itself.

How about if the option to host the Blogger data on the user’s own
FTP space is used?

k


Freeway5beta mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


Freeway5beta mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Sometime around 8/3/08 (at 16:22 -0500) Walter Lee Davis said:

That would be worth experimenting with, but the issue is when you
navigate to http://myblog.blogger.com, all of the scripts in the
page have to come from within the blogger.com domain as well.

It might just work. The option to hold your blog pages on your own
domain is in Blogger, in the Settings > Publishing panel. This says:

 You are publishing on blogspot.com
 Switch to: * [Custom Domain] (Point your own registered
 domain name to your blog)

 Hint: If you want to publish to an external FTP server,
 you will need to Set 'Blog Readers' to 'Anybody' and use
 a Classic Template.

k


Freeway5beta mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

It is yes but by doing that you lose the option to make Blogger 2.0
templates (what Freeway creates). By hosting on your own domain you
can only use (rather limited) Blogger 1.0 code for the templates.

Joe

On 8 Mar 2008, at 22:06, Keith Martin wrote:

Sometime around 8/3/08 (at 16:22 -0500) Walter Lee Davis said:

That would be worth experimenting with, but the issue is when you
navigate to http://myblog.blogger.com, all of the scripts in the
page have to come from within the blogger.com domain as well.

It might just work. The option to hold your blog pages on your own
domain is in Blogger, in the Settings > Publishing panel. This says:

You are publishing on blogspot.com
Switch to: * [Custom Domain] (Point your own registered
domain name to your blog)

Hint: If you want to publish to an external FTP server,
you will need to Set 'Blog Readers' to 'Anybody' and use
a Classic Template.

k


Freeway5beta mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


Freeway5beta mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

how are people creating drop down menus on there blogger sites?


Freeway5beta mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Well, Javascript that is in the page rather than an external file
hosted on a separate server will still work, and so will CSS so the
CSS Menus Action will work just fine but the Menubar or Scriptaculous
Actions will not (as they both reference external files).

Joe

On 10 Mar 2008, at 05:32, Brian wrote:

how are people creating drop down menus on there blogger sites?


Freeway5beta mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


Freeway5beta mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options