Sunday, May 20, 2012

[sharepointdiscussions] Digest Number 4449

Messages In This Digest (7 Messages)

Messages

1.1.

Re: Making SPLists Not look like SP Lists

Posted by: "Bryan Hart" bryan@solanite.com   bryandhart

Fri May 18, 2012 11:34 am (PDT)



Though that web part requires Publishing to be enabled, and embedding in
the master page might be problematic. The Client Side Object Model
(CSOM) has a Javascript implementation which can retrieve list
information pretty easily and wouldn't have any trouble living in a
SharePoint Master Page.

Bryan Hart | Technical Consultant | Solanite Consulting, Inc. | office:
206-374-8765 | mobile: 206-226-0652 | web: http://www.solanite.com/
<http://www.solanite.com/>

From: sharepointdiscussions@yahoogroups.com
[mailto:sharepointdiscussions@yahoogroups.com] On Behalf Of Peter
Brunone
Sent: Friday, May 18, 2012 11:10 AM
To: sharepointdiscussions@yahoogroups.com
Subject: Re: [sharepointdiscussions] Re: Making SPLists Not look like SP
Lists

I'd suggest using either the Content Query Web Part or the Client Object
Model.

CQWP (with the ability to query dynamically based on the URL or other
factors):
http://blogs.msdn.com/b/ecm/archive/2010/05/14/what-s-new-with-the-conte
nt-query-web-part.aspx

On Fri, May 18, 2012 at 12:19 PM, Shane <shane.gibson.lsg@gmail.com
<mailto:shane.gibson.lsg%40gmail.com> > wrote:

>
>
>
> Yes this is an old thread but subject is still on my mind and since a
> customer is requesting it again and since SharePoint 2010 and visual
> studios 2010 has been released they have changed the SharePoint
development
> game (A LOT), I have been paying hell using Google to find a good
article
> that walks you thru designing and deploying a custom footer in a
master
> page that dynamically pulls its values from a list, most likely as
Paul S.
> stated a long time ago in this thread, this will be a user control
that is
> deployed in the bin or GAC as a feature/solution and activated
(preferably
> the bin over the GAC if at all possible, ALSO THE KEY WORDS
"dynamically"
> and "from a list" are there for a reason I am not trying to add a
static
> footer or copyright <div> tag after the dashboard; seriously I see
that
> article reposted one more time on the internet I am going to complain
to
> the www blogger Gods and pray to magically erase them all).
>
> I am looking for a detailed article or series of articles (blogs,
Google
> books, kindle, etc. I don't care) that walks thru this subject, I am
on a
> short timeline (I have until Monday to make this feature/solution
working
> in my master page, and then wrap it with some CSS). Even if I have to
buy a
> book on Kindle from amazon.com for a chapter or two of reading and
coding
> I don't care, well worth the 30-40$. I just want to make this happen
for my
> customer as it is a hot topic for them, and I prefer to do it using
Visual
> Studios 2010 using a feature/solution deployment in the bin directory,
if
> this is possible. Unless there is a good cheap purchase that can do
this
> just the same, I am thinking web parts are out, so back to the
original
> (Plus it is in the master page and not the page layout/content page).
Also
> just as an FYI customer does NOT want publishing turned on, and the
output
> will be and <ul>..<li> vertical format if that matters on some of your
> suggestions.
>
> Thanks in Advance,
> Shane G.
>
>
>
> --- In sharepointdiscussions@yahoogroups.com
<mailto:sharepointdiscussions%40yahoogroups.com> , "Gibson, Shane"
> <shane.gibson@...> wrote:
> >
> > i.e.1
> >
> > Home | Calendar | Publications | Accessibility | FAQs | HIPPA
> > Glossary | Links | Jobs | Feedback | Webmaster
> >
> > i.e.2
> >
> > Home
> > Calendar
> > Publications
> > Accessibility
> > FAQs
> > HIPPA
> > Glossary
> > Links
> > Jobs
> > Feedback
> > Webmaster
> >
> > Thanks
> > Shane G.
> >
> > From: sharepointdiscussions@yahoogroups.com
<mailto:sharepointdiscussions%40yahoogroups.com> [mailto:
> sharepointdiscussions@yahoogroups.com
<mailto:sharepointdiscussions%40yahoogroups.com> ] On Behalf Of Baker,
Kristopher
> > Sent: Tuesday, January 26, 2010 10:42 AM
> > To: sharepointdiscussions@yahoogroups.com
<mailto:sharepointdiscussions%40yahoogroups.com>
> > Subject: RE: [sharepointdiscussions] Making SPLists Not look like SP
> Lists
> >
> >
> >
> > Shane,
> >
> > What do you want it to look like?
> >
> > Sincerely,
> >
> > Kristopher Baker
> >
> > From: sharepointdiscussions@yahoogroups.com
<mailto:sharepointdiscussions%40yahoogroups.com> <mailto:
> sharepointdiscussions%40yahoogroups.com> [mailto:
> sharepointdiscussions@yahoogroups.com
<mailto:sharepointdiscussions%40yahoogroups.com> <mailto:
> sharepointdiscussions%40yahoogroups.com>] On Behalf Of Gibson, Shane
> > Sent: Sunday, January 24, 2010 8:06 PM
> > To: sharepointdiscussions@yahoogroups.com
<mailto:sharepointdiscussions%40yahoogroups.com> <mailto:
> sharepointdiscussions%40yahoogroups.com>
> > Subject: [sharepointdiscussions] Making SPLists Not look like SP
Lists
> >
> > Hello All,
> > Was wondering if there is any good branding tips, or tutorials for
> making SPList's not look like the typical out of the box list?
> >
> > Thanks,
> > Shane G.
> > Larry S. Gibson (Shane)
> > Web Developer
> >
> > [Non-text portions of this message have been removed]
> >
> > [Non-text portions of this message have been removed]
> >
> >
> >
> > [Non-text portions of this message have been removed]
> >
>
>
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>
>

[Non-text portions of this message have been removed]

[Non-text portions of this message have been removed]

1.2.

Re: Making SPLists Not look like SP Lists

Posted by: "Peter Brunone" peter.brunone@gmail.com   peter_brunone

Fri May 18, 2012 11:42 am (PDT)



Ah. I didn't realize there was a Publishing constraint on that WP.

In addition to the CSOM, you could also use SPServices or straight jQuery
to pull data from the Lists web service.

On Fri, May 18, 2012 at 1:34 PM, Bryan Hart <bryan@solanite.com> wrote:

> Though that web part requires Publishing to be enabled, and embedding in
> the master page might be problematic. The Client Side Object Model
> (CSOM) has a Javascript implementation which can retrieve list
> information pretty easily and wouldn't have any trouble living in a
> SharePoint Master Page.
>
>
>
> Bryan Hart | Technical Consultant | Solanite Consulting, Inc. | office:
> 206-374-8765 | mobile: 206-226-0652 | web: http://www.solanite.com/
> <http://www.solanite.com/>
>
>
>
> From: sharepointdiscussions@yahoogroups.com On Behalf Of Peter
> Brunone
>
>
>
>
> I'd suggest using either the Content Query Web Part or the Client Object
> Model.
>
> CQWP (with the ability to query dynamically based on the URL or other
> factors):
> http://blogs.msdn.com/b/ecm/archive/2010/05/14/what-s-new-with-the-conte
> nt-query-web-part.aspx
>
> On Fri, May 18, 2012 at 12:19 PM, Shane <shane.gibson.lsg@gmail.com
> <mailto:shane.gibson.lsg%40gmail.com> > wrote:
>
> >
> >
> >
> > Yes this is an old thread but subject is still on my mind and since a
> > customer is requesting it again and since SharePoint 2010 and visual
> > studios 2010 has been released they have changed the SharePoint
> development
> > game (A LOT), I have been paying hell using Google to find a good
> article
> > that walks you thru designing and deploying a custom footer in a
> master
> > page that dynamically pulls its values from a list, most likely as
> Paul S.
> > stated a long time ago in this thread, this will be a user control
> that is
> > deployed in the bin or GAC as a feature/solution and activated
> (preferably
> > the bin over the GAC if at all possible, ALSO THE KEY WORDS
> "dynamically"
> > and "from a list" are there for a reason I am not trying to add a
> static
> > footer or copyright <div> tag after the dashboard; seriously I see
> that
> > article reposted one more time on the internet I am going to complain
> to
> > the www blogger Gods and pray to magically erase them all).
> >
> > I am looking for a detailed article or series of articles (blogs,
> Google
> > books, kindle, etc. I don't care) that walks thru this subject, I am
> on a
> > short timeline (I have until Monday to make this feature/solution
> working
> > in my master page, and then wrap it with some CSS). Even if I have to
> buy a
> > book on Kindle from amazon.com for a chapter or two of reading and
> coding
> > I don't care, well worth the 30-40$. I just want to make this happen
> for my
> > customer as it is a hot topic for them, and I prefer to do it using
> Visual
> > Studios 2010 using a feature/solution deployment in the bin directory,
> if
> > this is possible. Unless there is a good cheap purchase that can do
> this
> > just the same, I am thinking web parts are out, so back to the
> original
> > (Plus it is in the master page and not the page layout/content page).
> Also
> > just as an FYI customer does NOT want publishing turned on, and the
> output
> > will be and <ul>..<li> vertical format if that matters on some of your
> > suggestions.
> >
> > Thanks in Advance,
> > Shane G.

[Non-text portions of this message have been removed]

1.3.

Re: Making SPLists Not look like SP Lists

Posted by: "Shane Gibson" shane.gibson.lsg@gmail.com   shane_gibson_lsg

Fri May 18, 2012 12:42 pm (PDT)



Thanks for your suggestions guy, I did see in my branding book a snippet about csom, but was shying away from it as I have always been more of a code behind writer, looks like I may finally have to start writing client scripts, again thanks, any good books published on these (SharePoint specific).

Thanks
Shane G.

On May 18, 2012, at 2:42 PM, Peter Brunone <peter.brunone@gmail.com> wrote:

> Ah. I didn't realize there was a Publishing constraint on that WP.
>
> In addition to the CSOM, you could also use SPServices or straight jQuery
> to pull data from the Lists web service.
>
> On Fri, May 18, 2012 at 1:34 PM, Bryan Hart <bryan@solanite.com> wrote:
>
> > Though that web part requires Publishing to be enabled, and embedding in
> > the master page might be problematic. The Client Side Object Model
> > (CSOM) has a Javascript implementation which can retrieve list
> > information pretty easily and wouldn't have any trouble living in a
> > SharePoint Master Page.
> >
> >
> >
> > Bryan Hart | Technical Consultant | Solanite Consulting, Inc. | office:
> > 206-374-8765 | mobile: 206-226-0652 | web: http://www.solanite.com/
> > <http://www.solanite.com/>
> >
> >
> >
> > From: sharepointdiscussions@yahoogroups.com On Behalf Of Peter
> > Brunone
> >
> >
> >
> >
> > I'd suggest using either the Content Query Web Part or the Client Object
> > Model.
> >
> > CQWP (with the ability to query dynamically based on the URL or other
> > factors):
> > http://blogs.msdn.com/b/ecm/archive/2010/05/14/what-s-new-with-the-conte
> > nt-query-web-part.aspx
> >
> > On Fri, May 18, 2012 at 12:19 PM, Shane <shane.gibson.lsg@gmail.com
> > <mailto:shane.gibson.lsg%40gmail.com> > wrote:
> >
> > >
> > >
> > >
> > > Yes this is an old thread but subject is still on my mind and since a
> > > customer is requesting it again and since SharePoint 2010 and visual
> > > studios 2010 has been released they have changed the SharePoint
> > development
> > > game (A LOT), I have been paying hell using Google to find a good
> > article
> > > that walks you thru designing and deploying a custom footer in a
> > master
> > > page that dynamically pulls its values from a list, most likely as
> > Paul S.
> > > stated a long time ago in this thread, this will be a user control
> > that is
> > > deployed in the bin or GAC as a feature/solution and activated
> > (preferably
> > > the bin over the GAC if at all possible, ALSO THE KEY WORDS
> > "dynamically"
> > > and "from a list" are there for a reason I am not trying to add a
> > static
> > > footer or copyright <div> tag after the dashboard; seriously I see
> > that
> > > article reposted one more time on the internet I am going to complain
> > to
> > > the www blogger Gods and pray to magically erase them all).
> > >
> > > I am looking for a detailed article or series of articles (blogs,
> > Google
> > > books, kindle, etc. I don't care) that walks thru this subject, I am
> > on a
> > > short timeline (I have until Monday to make this feature/solution
> > working
> > > in my master page, and then wrap it with some CSS). Even if I have to
> > buy a
> > > book on Kindle from amazon.com for a chapter or two of reading and
> > coding
> > > I don't care, well worth the 30-40$. I just want to make this happen
> > for my
> > > customer as it is a hot topic for them, and I prefer to do it using
> > Visual
> > > Studios 2010 using a feature/solution deployment in the bin directory,
> > if
> > > this is possible. Unless there is a good cheap purchase that can do
> > this
> > > just the same, I am thinking web parts are out, so back to the
> > original
> > > (Plus it is in the master page and not the page layout/content page).
> > Also
> > > just as an FYI customer does NOT want publishing turned on, and the
> > output
> > > will be and <ul>..<li> vertical format if that matters on some of your
> > > suggestions.
> > >
> > > Thanks in Advance,
> > > Shane G.
>
> [Non-text portions of this message have been removed]
>
>

[Non-text portions of this message have been removed]

1.4.

Re: Making SPLists Not look like SP Lists

Posted by: "Peter Brunone" peter.brunone@gmail.com   peter_brunone

Fri May 18, 2012 12:50 pm (PDT)



If you want to do this with the minimum amount of research, you might just
go to the SPServices project on CodePlex. The documentation is quite
extensive, and pulling data from a list is pretty standardized.

On Fri, May 18, 2012 at 2:22 PM, Shane Gibson <shane.gibson.lsg@gmail.com>wrote:

> Thanks for your suggestions guy, I did see in my branding book a snippet
> about csom, but was shying away from it as I have always been more of a
> code behind writer, looks like I may finally have to start writing client
> scripts, again thanks, any good books published on these (SharePoint
> specific).
>
> Thanks
> Shane G.
>
> On May 18, 2012, at 2:42 PM, Peter Brunone <peter.brunone@gmail.com>
> wrote:
>
> > Ah. I didn't realize there was a Publishing constraint on that WP.
> >
> > In addition to the CSOM, you could also use SPServices or straight jQuery
> > to pull data from the Lists web service.
> >
> > On Fri, May 18, 2012 at 1:34 PM, Bryan Hart <bryan@solanite.com> wrote:
> >
> > > Though that web part requires Publishing to be enabled, and embedding
> in
> > > the master page might be problematic. The Client Side Object Model
> > > (CSOM) has a Javascript implementation which can retrieve list
> > > information pretty easily and wouldn't have any trouble living in a
> > > SharePoint Master Page.
> > >
> > >
> > >
> > > Bryan Hart | Technical Consultant | Solanite Consulting, Inc. | office:
> > > 206-374-8765 | mobile: 206-226-0652 | web: http://www.solanite.com/
> > > <http://www.solanite.com/>
> > >
> > >
> > >
> > > From: sharepointdiscussions@yahoogroups.com On Behalf Of Peter
> > > Brunone
> > >
> > >
> > >
> > >
> > > I'd suggest using either the Content Query Web Part or the Client
> Object
> > > Model.
> > >
> > > CQWP (with the ability to query dynamically based on the URL or other
> > > factors):
> > >
> http://blogs.msdn.com/b/ecm/archive/2010/05/14/what-s-new-with-the-conte
> > > nt-query-web-part.aspx
> > >
> > > On Fri, May 18, 2012 at 12:19 PM, Shane <shane.gibson.lsg@gmail.com
> > > <mailto:shane.gibson.lsg%40gmail.com> > wrote:
> > >
> > > >
> > > >
> > > >
> > > > Yes this is an old thread but subject is still on my mind and since a
> > > > customer is requesting it again and since SharePoint 2010 and visual
> > > > studios 2010 has been released they have changed the SharePoint
> > > development
> > > > game (A LOT), I have been paying hell using Google to find a good
> > > article
> > > > that walks you thru designing and deploying a custom footer in a
> > > master
> > > > page that dynamically pulls its values from a list, most likely as
> > > Paul S.
> > > > stated a long time ago in this thread, this will be a user control
> > > that is
> > > > deployed in the bin or GAC as a feature/solution and activated
> > > (preferably
> > > > the bin over the GAC if at all possible, ALSO THE KEY WORDS
> > > "dynamically"
> > > > and "from a list" are there for a reason I am not trying to add a
> > > static
> > > > footer or copyright <div> tag after the dashboard; seriously I see
> > > that
> > > > article reposted one more time on the internet I am going to complain
> > > to
> > > > the www blogger Gods and pray to magically erase them all).
> > > >
> > > > I am looking for a detailed article or series of articles (blogs,
> > > Google
> > > > books, kindle, etc. I don't care) that walks thru this subject, I am
> > > on a
> > > > short timeline (I have until Monday to make this feature/solution
> > > working
> > > > in my master page, and then wrap it with some CSS). Even if I have to
> > > buy a
> > > > book on Kindle from amazon.com for a chapter or two of reading and
> > > coding
> > > > I don't care, well worth the 30-40$. I just want to make this happen
> > > for my
> > > > customer as it is a hot topic for them, and I prefer to do it using
> > > Visual
> > > > Studios 2010 using a feature/solution deployment in the bin
> directory,
> > > if
> > > > this is possible. Unless there is a good cheap purchase that can do
> > > this
> > > > just the same, I am thinking web parts are out, so back to the
> > > original
> > > > (Plus it is in the master page and not the page layout/content page).
> > > Also
> > > > just as an FYI customer does NOT want publishing turned on, and the
> > > output
> > > > will be and <ul>..<li> vertical format if that matters on some of
> your
> > > > suggestions.
> > > >
> > > > Thanks in Advance,
> > > > Shane G.
> >
> > [Non-text portions of this message have been removed]
> >
> >
>
>
> [Non-text portions of this message have been removed]
>
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>
>

[Non-text portions of this message have been removed]

1.5.

Re: Making SPLists Not look like SP Lists

Posted by: "Shane Gibson" shane.gibson.lsg@gmail.com   shane_gibson_lsg

Fri May 18, 2012 2:28 pm (PDT)



That was supposed to say "guys" not guy, thanks for the suggestions "guys", I'm going to attempt the csom first as it does make sense of why it's there to begin with, and services as a secondary option, and hopefully get it working, thanks again guyS!

Thanks,
Shane G.

On May 18, 2012, at 3:50 PM, Peter Brunone <peter.brunone@gmail.com> wrote:

> If you want to do this with the minimum amount of research, you might just
> go to the SPServices project on CodePlex. The documentation is quite
> extensive, and pulling data from a list is pretty standardized.
>
> On Fri, May 18, 2012 at 2:22 PM, Shane Gibson <shane.gibson.lsg@gmail.com>wrote:
>
> > Thanks for your suggestions guy, I did see in my branding book a snippet
> > about csom, but was shying away from it as I have always been more of a
> > code behind writer, looks like I may finally have to start writing client
> > scripts, again thanks, any good books published on these (SharePoint
> > specific).
> >
> > Thanks
> > Shane G.
> >
> > On May 18, 2012, at 2:42 PM, Peter Brunone <peter.brunone@gmail.com>
> > wrote:
> >
> > > Ah. I didn't realize there was a Publishing constraint on that WP.
> > >
> > > In addition to the CSOM, you could also use SPServices or straight jQuery
> > > to pull data from the Lists web service.
> > >
> > > On Fri, May 18, 2012 at 1:34 PM, Bryan Hart <bryan@solanite.com> wrote:
> > >
> > > > Though that web part requires Publishing to be enabled, and embedding
> > in
> > > > the master page might be problematic. The Client Side Object Model
> > > > (CSOM) has a Javascript implementation which can retrieve list
> > > > information pretty easily and wouldn't have any trouble living in a
> > > > SharePoint Master Page.
> > > >
> > > >
> > > >
> > > > Bryan Hart | Technical Consultant | Solanite Consulting, Inc. | office:
> > > > 206-374-8765 | mobile: 206-226-0652 | web: http://www.solanite.com/
> > > > <http://www.solanite.com/>
> > > >
> > > >
> > > >
> > > > From: sharepointdiscussions@yahoogroups.com On Behalf Of Peter
> > > > Brunone
> > > >
> > > >
> > > >
> > > >
> > > > I'd suggest using either the Content Query Web Part or the Client
> > Object
> > > > Model.
> > > >
> > > > CQWP (with the ability to query dynamically based on the URL or other
> > > > factors):
> > > >
> > http://blogs.msdn.com/b/ecm/archive/2010/05/14/what-s-new-with-the-conte
> > > > nt-query-web-part.aspx
> > > >
> > > > On Fri, May 18, 2012 at 12:19 PM, Shane <shane.gibson.lsg@gmail.com
> > > > <mailto:shane.gibson.lsg%40gmail.com> > wrote:
> > > >
> > > > >
> > > > >
> > > > >
> > > > > Yes this is an old thread but subject is still on my mind and since a
> > > > > customer is requesting it again and since SharePoint 2010 and visual
> > > > > studios 2010 has been released they have changed the SharePoint
> > > > development
> > > > > game (A LOT), I have been paying hell using Google to find a good
> > > > article
> > > > > that walks you thru designing and deploying a custom footer in a
> > > > master
> > > > > page that dynamically pulls its values from a list, most likely as
> > > > Paul S.
> > > > > stated a long time ago in this thread, this will be a user control
> > > > that is
> > > > > deployed in the bin or GAC as a feature/solution and activated
> > > > (preferably
> > > > > the bin over the GAC if at all possible, ALSO THE KEY WORDS
> > > > "dynamically"
> > > > > and "from a list" are there for a reason I am not trying to add a
> > > > static
> > > > > footer or copyright <div> tag after the dashboard; seriously I see
> > > > that
> > > > > article reposted one more time on the internet I am going to complain
> > > > to
> > > > > the www blogger Gods and pray to magically erase them all).
> > > > >
> > > > > I am looking for a detailed article or series of articles (blogs,
> > > > Google
> > > > > books, kindle, etc. I don't care) that walks thru this subject, I am
> > > > on a
> > > > > short timeline (I have until Monday to make this feature/solution
> > > > working
> > > > > in my master page, and then wrap it with some CSS). Even if I have to
> > > > buy a
> > > > > book on Kindle from amazon.com for a chapter or two of reading and
> > > > coding
> > > > > I don't care, well worth the 30-40$. I just want to make this happen
> > > > for my
> > > > > customer as it is a hot topic for them, and I prefer to do it using
> > > > Visual
> > > > > Studios 2010 using a feature/solution deployment in the bin
> > directory,
> > > > if
> > > > > this is possible. Unless there is a good cheap purchase that can do
> > > > this
> > > > > just the same, I am thinking web parts are out, so back to the
> > > > original
> > > > > (Plus it is in the master page and not the page layout/content page).
> > > > Also
> > > > > just as an FYI customer does NOT want publishing turned on, and the
> > > > output
> > > > > will be and <ul>..<li> vertical format if that matters on some of
> > your
> > > > > suggestions.
> > > > >
> > > > > Thanks in Advance,
> > > > > Shane G.
> > >
> > > [Non-text portions of this message have been removed]
> > >
> > >
> >
> >
> > [Non-text portions of this message have been removed]
> >
> >
> >
> > ------------------------------------
> >
> > Yahoo! Groups Links
> >
> >
> >
> >
>
> [Non-text portions of this message have been removed]
>
>

[Non-text portions of this message have been removed]

2a.

jscript+jQuery won't run

Posted by: "dick_penny" d_penny@usa.net   dick_penny

Fri May 18, 2012 5:46 pm (PDT)



What am I doing wrong?

I put up VERY simple jQuery lib & script onto SP2007 using SPD, and it ran the first time using XP and IE7.

Now I am using SP2010, OOB, no Designer, and Win 7 + IE9. I tried
1) pasting code below into CEWP in a WPP in a DocLib
2) pasting code below into "site Pages" library new page

In both cases, all I got back was the text below that I pasted in.
My goof has to be simple. At least I expected an error msg regarding the jQ library.
=================
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>jQuery demo</title>
</head>
<body>
<a href="http://jquery.com/ ">jQuery</a>
<script src=" http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js"></script>
<script>
$(document).ready(function(){
$("a").click(function(event){
alert("As you can see, the link no longer took you to jquery.com");
event.preventDefault();
});
});
</script>
</body>
</html>
==================

Plse answer to my eM also, I cannot access Yahoo Groups at my new employer.

Dick Penny

2b.

Re: jscript+jQuery won't run

Posted by: "Deanna Schneider" deanna.schneider@gmail.com   schneider_scholz

Fri May 18, 2012 7:52 pm (PDT)



Put the code in a text file, and have the CQWP include the text file.

On Fri, May 18, 2012 at 7:45 PM, dick_penny <d_penny@usa.net> wrote:

> **
>
>
> What am I doing wrong?
>
> I put up VERY simple jQuery lib & script onto SP2007 using SPD, and it ran
> the first time using XP and IE7.
>
> Now I am using SP2010, OOB, no Designer, and Win 7 + IE9. I tried
> 1) pasting code below into CEWP in a WPP in a DocLib
> 2) pasting code below into "site Pages" library new page
>
> In both cases, all I got back was the text below that I pasted in.
> My goof has to be simple. At least I expected an error msg regarding the
> jQ library.
> =================
> <!DOCTYPE html>
> <html lang="en">
> <head>
> <meta charset="utf-8">
> <title>jQuery demo</title>
> </head>
> <body>
> <a href="http://jquery.com/ ">jQuery</a>
> <script src="
> http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js"></script>
> <script>
> $(document).ready(function(){
> $("a").click(function(event){
> alert("As you can see, the link no longer took you to jquery.com");
> event.preventDefault();
> });
> });
> </script>
> </body>
> </html>
> ==================
>
> Plse answer to my eM also, I cannot access Yahoo Groups at my new employer.
>
> Dick Penny
>
>
>

[Non-text portions of this message have been removed]

Recent Activity
Visit Your Group
Yahoo! Groups

Parenting Zone

Family and home

Tips for mom

Ads on Yahoo!

Learn more now.

Reach customers

searching for you.

Yahoo! Groups

Small Business Group

Ask questions,

share experiences

Need to Reply?

Click one of the "Reply" links to respond to a specific message in the Daily Digest.

Create New Topic | Visit Your Group on the Web

No comments: