Stump the Panel Topic: jquery webparts from SharePoint Superstar workshop http://www.endusersharepoint.com/STP/ Paul Grenier, Lead Moderator en Sun, 08 Feb 2009 17:08:15 +0000 AutoSponge on "jquery webparts from SharePoint Superstar workshop" http://www.endusersharepoint.com/STP/topic/jquery-webparts-from-sharepoint-superstar-workshop#post-3949 Thu, 05 Feb 2009 09:33:38 +0000 AutoSponge 3949@http://www.endusersharepoint.com/STP/ <p>loadTip searches the DOM for links to 'DispForm.aspx'. A links list displays links to anything--even cross-domain resources which we can't preview.</p> <p>So, the answer to the DWVP question is: if you make your links point to DispForm.aspx they will work. If you're using something else, loadTip will need to have the variable "arrayList" changed to account for it. </p> Peter Allen on "jquery webparts from SharePoint Superstar workshop" http://www.endusersharepoint.com/STP/topic/jquery-webparts-from-sharepoint-superstar-workshop#post-3947 Thu, 05 Feb 2009 02:59:34 +0000 Peter Allen 3947@http://www.endusersharepoint.com/STP/ <p>AutoSponge,</p> <p>I noticed that the loadTip does not work for Link lists. Is this correct? Is there a work around?</p> <p>Also, lists that are viewed through the DVWP won't work with loadTip. Is this correct? and is there a work around?</p> <p>Thanks. </p> AutoSponge on "jquery webparts from SharePoint Superstar workshop" http://www.endusersharepoint.com/STP/topic/jquery-webparts-from-sharepoint-superstar-workshop#post-3940 Wed, 04 Feb 2009 19:01:15 +0000 AutoSponge 3940@http://www.endusersharepoint.com/STP/ <p>Mick,</p> <p>This is something you can do (rather easily) with the jQuery selectors in the code.</p> <p>Inside the loadTip, the selector for the dispform looks like this:</p> <p>`if (!group) group = "#MSO_ContentTable";<br /> var arrayList = $(group+" a[href*='DispForm.aspx']");</p> <p>Explanation: The if statement gives me a default group (a container I find by ID) to attach the event to. If the expanding groups button fires, I get the group name and pass it to loadTip to attach new loadTip events to the new dispform anchors.</p> <p>Solution: change the if statement to:<br /> <code>if (!group) group = &quot;#YOUR_PREVIEW_PANE&#39;S_ID&quot;;</code></p> <p>If you used the code I provided, it should look like this:<br /> <code>if (!group) group = &quot;#jLoadMe&quot;;</code></p> <p>Let me know how that works out for you. </p> 27palms on "jquery webparts from SharePoint Superstar workshop" http://www.endusersharepoint.com/STP/topic/jquery-webparts-from-sharepoint-superstar-workshop#post-3922 Wed, 04 Feb 2009 07:55:37 +0000 27palms 3922@http://www.endusersharepoint.com/STP/ <p>Hey Paul, quick one for you which is probably just me being dumb!</p> <p>I have a screen with no quick launch &gt; calendar view &gt; preview pane across it. The calendar view is throwing up meeting info into the preview pane. </p> <p>One data item in my preview pane is a hyperlink to a list called 'client'. That list contains a bunch of other information that would be really useful viewed through the loadtip webpart. Ideally I don't want my loadtip firing on the calendar though (thats what the preview pane is for)</p> <p>I've tried to do this. while the preview pane operates exactly as you would expect the loadtip only works on the calendar. I've a screen shot, with comments, I can send if that helps. </p> <p>I guess my issue is that I'm trying to deploy aggregated functionality on the page. I should point out that 'client' is a content type rather than a standard list. I can live with the issue (the preview pane basically blew away people's expectation levels anyhow, but, y'know it would just be so cool!)</p> <p>Regards, Mick </p>