logo-dw

Go Back   Dreamweaver Club Forums > Dreamweaver forums > Spry
Register FAQ Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
Old 06-10-2011, 07:02 PM   #1
johnMoss
johnMoss's Avatar
 
Join Date: Dec 2010
Location: Dallas
Posts: 867
Default Spry Target - How to not make the page jump

I'm bein' lazy here but I'm on a timeline... I'm still fresh when it comes to spry. The panel has two pages. onClick go to panel two, target is of course the same page. I gather I need to set the target value to somewhere on the page such that the page does not reposition, as it does likes it's refreshing. In effect what one sees with a proper target value is that the panel slides smoothly across. The spry panel itself cannot be placed high enough on the page to override this effect by default positioning. So method is create target object, place it, and then nomenclature is target="#____" ??
johnMoss is offline   Reply With Quote
Old 06-10-2011, 07:14 PM   #2
johnMoss
johnMoss's Avatar
 
Join Date: Dec 2010
Location: Dallas
Posts: 867
Default

I suspect I need to rephrase. Bottom line is a smooth transition from page 1 to page 2. Is this an href or targeting issue? Code?
johnMoss is offline   Reply With Quote
Old 06-10-2011, 08:09 PM   #3
domedia
Administrator
domedia's Avatar
 
Join Date: Dec 2003
Posts: 9,730
Default

HTML Code:
<elementname id="target">
And
HTML Code:
<a href="#target">
domedia is offline   Reply With Quote
Old 06-11-2011, 12:23 AM   #4
DWcourse
DWcourse's Avatar
 
Join Date: Apr 2009
Posts: 3,276
Default

Quote:
Originally Posted by domedia View Post
HTML Code:
<elementname id="target">
And
HTML Code:
<a href="#target">
That might still cause the page to jump slightly. How about a Javascript null link? href="javascript:;" ow what this guy propposes: http://www.tjkdesign.com/articles/nulllinks.asp
__________________
If my answer helped, check out DWcourse.com for Dreamweaver tips and tutorials.
DWcourse is offline   Reply With Quote
Old 06-11-2011, 03:17 AM   #5
johnMoss
johnMoss's Avatar
 
Join Date: Dec 2010
Location: Dallas
Posts: 867
Default

Interesting, I did not get notification of response on these. Really what I'm in the middle of is undoing a mix of html robbed from different resources to achieve a desired effect, which of course doesn't work. (76 errors, good 'ol xml tags in a transitional among others...) My client gave me a partially completed site to repair, which unfortunately has broken down into a complete rewrite. I gave up on the original spry & so rewriting from scratch, but I suspect the issue of smooth scroll will still arise as the widget is positioned too far down the page for default static display. Target description above should work great, thanks D, I'll report the result...
johnMoss is offline   Reply With Quote
Old 06-11-2011, 03:20 AM   #6
johnMoss
johnMoss's Avatar
 
Join Date: Dec 2010
Location: Dallas
Posts: 867
Default

On a href Jim you're right, that will happen, I'm aware of that link, defined as 'I saw it used & didn't understand it & now I do', I'll look at the reference & learn it... Thank you sir...
johnMoss is offline   Reply With Quote
Old 06-12-2011, 01:39 PM   #7
johnMoss
johnMoss's Avatar
 
Join Date: Dec 2010
Location: Dallas
Posts: 867
Default

Javascript was the route to take; clients were in a hurry to get the site up before dashing off to Cancun, so more editing remains, but the spry is a smooth transitional...
http://www.tennesseereversemortgageguide.com/
johnMoss is offline   Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:35 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Copyright 2006 DreamweaverClub.com