Can I use thumbnails rather than the {sitename} to load different galleries?
Hi all-
I'm new to Spry and all things Javascripting but I'm attempting to construct a image gallery using Spry in Dreamweaver CS3. I've used the "Original Photo Gallery" from the Spry Demo folder as a jumping off point and everything works correctly.
I would like to know if it is possible to use representative thumbnails rather than the select dropdown to launch the different galleries? I'm sure it is, but I'm a total neophyte and have no idea what to do. I'd like to set up a AP Div with 9 thumbnails in a table that would each launch a different gallery. How do I do that?
Jimmy
Hello, because you're SELECTing tournament.tourtype in the SELECT list, the answer is not really. If you didn't need t.tourtype in the SELECT list, you could have:
select m.memberid, m.lastname, m.firstname
from member m
where exists (select 1
from entry e inner join tournament t on (e.tourid=t.tourid)
where m.memberid=e.memberid
and upper(t.tourtype)='OPEN');And you know the t.tourtype is 'OPEN' anyway, so you don't need to SELECT it. So you could have this, and the answer is yes:
select m.memberid, m.lastname, m.firstname, 'OPEN' tourtype
from member m
where exists (select 1
from entry e inner join tournament t on (e.tourid=t.tourid)
where m.memberid=e.memberid
and upper(t.tourtype)='OPEN');Edited by: SeánMacGC on May 7, 2009 2:09 AM
Similar Messages
-
Can I use CS4 rather than flex to program with stratus?
Yeah it is all as3, but I need to know since it said "Flex or Flexbuild" which scares me. Can I use Stratus with flash cs4?
I can.
So I think you can too, just try.
UPD: ando also try this http://forums.adobe.com/thread/26104 -
Mail - why does it use Firefox rather than the default, Safari?
Hi,
I have both Safari and Firefox on this iMac that's running 10.6.8. Safari is my default browser.
Within Mail Preferences, the Default RSS Reader is set up to use Safari. However, Mail always links to Firefox. Why is this and how do I change it?
Thank you,
reluctantuserNevermind, I've figured it out!
Thanks,
reluctantuser -
How can I make ringtones show in my Tones tab rather than the Music tab?
I just bought my first iPhone 4 and uploaded a bunch of music ringtone files to iTunes and changed the default preference to display the Tones tab. However, the ringtones all got added to the Music tab rather than the Tones tab. I have a number of questions:
I'm used to other phones where any music file can be set as a ringtone for a particular contact. Is this the case for iPhones too?
If so, how can I set a ringtone for a contact from these music files?
If not, how can I get the ringtones to appear in the Tones tab? I assume that I would have to do that to sync ringtones to my iPhone ringtone "folder".
Is there another alternative? I read on the forum something about dragging ringtone files to the iPhone. Not sure I understood that! Does this mean I can drag a music file from the Music tab to the iPhone icon and have that file end up in the iPhone ringtone "folder"? If it ends up in the Music "folder", how do I access it to set it as a contact ringtone?
Thank you for any light you can shed on this.It would be good if this was made a user-defined Option (Tools -> Options -> Tabs) in the next update of Firefox rather than having to install an add-on. I currently keep Firefox open to view my Accuweather.com add-on running or because I know that I will be returning to Firefox in short order. (I do close Firefox if I have visited a sensitive or secure site to ensure better security.) Every time I want to go to a bookmark, I must open a new "(Untitled)" tab before selecting my bookmark using the keyboard (I'm a dedicated keystroker; it's much faster for me). This way, when I close the website, I have an "(Untitled)" tab displaying so that Firefox doesn't close. Why can't I set an Option parameter that will result in me not having to go through this? Alternatively, allow users to set an option to keep Firefox loaded and open in the event only one tab is open and maybe if only one Firefox application window is running (I avoid having more than one Firefox window open as much as possible). I've addressed this last issue in the past but have seen no change when one closes the last tab in a Firefox window. As general practice, I would think that Firefox would run better if options, like I have described above, were part of the Firefox application code and not given to needing an add-on which may cause instability in Firefox as they have in the past, even with author verification and certification.
-
I presently use iCloud and run a laptop PC plus an iPad2 and an iPhone 4. I plan to travel and want to take my netbook, rather than the laptop PC for travelling. How do I get my apple tools to work mwith a new, temporary PC?
ayorico15 wrote:
It's not the pictures I'm worried about. I can get them off my phone without iTunes.
You can export ONLY Camera Roll photos and videos.
ayorico15 wrote:
All my apps were downloaded from my new apple ID. Not his.
Sign in to iTunes Store (on desktop itunes) with your ID. Plug your iphone to itunes, right click on it and choose transfer purchases.Right click again and choose backup. Then you can sync with iTunes.
ayorico15 wrote:
It's not the pictures I'm worried about. It's all my saved conversations
Your conversations will not deleted if you sync with your iTunes.
What is the problem with iCloud? iCloud has nothing to do with iTunes syncing. -
How can I create a slideshow that depicts only a version of a photo rather than the original? Since the original and new versions are saved together, the aperture slideshow often choices the original rather than the desired version to display.
There are two things we use the name "Slideshow" for in Aperture: a Slideshow Album, used for making Slideshows, and the Slideshow that is made. (Imho, it is a design mistake to not call the containers used to create Slideshows, Books, etc., "Albums".)
The Slideshow will use the Album Pick from any Stack. A good way to use Aperture is to promote the Image you want to regularly use (such as, for example, a Version with adjustments) to the top of the Stack. This makes it the Stack Pick, and will be the default Album Pick. If you haven't done that, you can still change the Album Pick for any Stack in a Slideshow Album. Expand your Stack(s), select the Image in each Stack that you want to be the Album Pick (and thus shown in the Slideshow), and "Stacks➞Set Album Pick". (Note the keyboard shortcut; there is also a Toolbar icon for this.) The change is immediate. The Slideshow will always show the Album Pick (or, if there is not one, the Stack Pick) for every Stack in your Slideshow Album. -
Is it possible to use a campaign font when authoring an iBook rather than the standard font menu?
The font menu in the toolbar includes supported iOS fonts on the iPad. You are obligated to work with those fonts only.
While apps have a way to add additional fonts, iBooks Author does not provide support otherwise, sorry.
As an alternative, you can use any font you like and generate an image instead. -
Can anyone answer this question?
I am setting up ipads for use in an elementary, and I would like the "home screen" to be the apps, rather than the default with the chat, mail, etc icons. how do I change that?Depending on exactly what you want to do, there are a couple of ways of handling this. You may want to access teh user guide for some ideas: http://manuals.info.apple.com/en_US/ipad_user_guide.pdf
In particular, check the sections on Customizing iPad and Settings > Restrictions. -
How can I get book marks to automatically open in a new tab rather than the tab I am in when I select the bookmark?
It would be good if this was made a user-defined Option (Tools -> Options -> Tabs) in the next update of Firefox rather than having to install an add-on. I currently keep Firefox open to view my Accuweather.com add-on running or because I know that I will be returning to Firefox in short order. (I do close Firefox if I have visited a sensitive or secure site to ensure better security.) Every time I want to go to a bookmark, I must open a new "(Untitled)" tab before selecting my bookmark using the keyboard (I'm a dedicated keystroker; it's much faster for me). This way, when I close the website, I have an "(Untitled)" tab displaying so that Firefox doesn't close. Why can't I set an Option parameter that will result in me not having to go through this? Alternatively, allow users to set an option to keep Firefox loaded and open in the event only one tab is open and maybe if only one Firefox application window is running (I avoid having more than one Firefox window open as much as possible). I've addressed this last issue in the past but have seen no change when one closes the last tab in a Firefox window. As general practice, I would think that Firefox would run better if options, like I have described above, were part of the Firefox application code and not given to needing an add-on which may cause instability in Firefox as they have in the past, even with author verification and certification.
-
My iPhone has suddenly started sending emails in Courier New (rather than the standard Arial). They appear in Arial when I compose them, but turn to Courier new in the sent folder and when displayed to the recipient. I use Yahoo Mobile Mail. Help! How can I change the settings so that the sent emails go back to Arial? Thank you!
I'm not sure if it's a Yahoo Mobile mail or an iphone issue... have asked the Yahoo forum but no replies yet... Any help appreciated!
-
when recording a video using quicktime and my built in camera (isight) how come the program wont let me use my audio interface rather than the built in mike?
when recording a video using quicktime and my built in camera (isight) how come the program wont let me use my audio interface rather than the built in mike?
The basic answer is that Apple has not programmed the capture routine with this capability. As such, you can always send QT feedback requesting this feature be added as a future enhancement. -
Why use Protected Overide Sub OnPaint rather than the standard Paint_Event ?
I notice many good programmers use this following method rather than the usual Paint_Event when painting to the form.
Protected Overrides Sub OnPaint(e As PaintEventArgs)
Dim g As Graphics = e.Graphics
g.SmoothingMode = Drawing2D.SmoothingMode.HighQuality
g.InterpolationMode = Drawing2D.InterpolationMode.HighQualityBicubic
MyBase.OnPaint(e)
End Sub
Can anybody share the reasons why? Thanks
Top Tip: Toothache? Cut paper towel to 2"square. Smear with olive oil. Sprinkle on Cayenne Pepper. Fold over few times to form small wad. Tuck in between wall of mouth and gum. Leave 1 - 2 hrs. You will thank me!OK Crazypennie, maybe you are right. I tend to rant on a bit sometimes.
Also, maybe the jumpy graphics is made worse because the animation output is not synced with the video hardware refresh rate. We can get around that slightly by using a very high fps.
Hi Leon,
I tried modifying your code using a GraphicsFrame class that I wrote a little while back, the class utilizes the bufferedcontext/bufferedgraphics, instead of using the forms graphics directly. In theory, all objects should be rendered to the buffer before
the forms graphics object. Is this less glitchy/faster on your pc? It seemed less glitchy/faster on mine..., and previous benchmarks show that using buffered graphics in this manner improved render time.
You can read the discussion on
this thread.
Option Strict On
Option Explicit On
Option Infer Off
Public Class Form11 ' drawing Code by Paul Ishak Apr 2015 A spinning pie chart. My timing code.
Private Angle As Single = 100
Private NextIncrement As Single = 1
Private Randomizer As New Random(Now.Millisecond)
Private SliceColors As New List(Of Color)
Private SlicesOnWheel As Integer = 24
Private Velocity As Single = 0
Private WheelRadius As Integer = 300
Private WheelLocation As New Point(50, 50)
Private SW As New Stopwatch
Private SFlag As Boolean ' wheel is currently spinning
Private CntMS As Integer ' count the milliseconds
Protected Overrides Sub OnPaint(e As PaintEventArgs)
Dim gFrame As New GraphicsFrame(e.Graphics, Me.ClientRectangle.Size)
Dim g As Graphics = gFrame.Graphics
g.SmoothingMode = Drawing2D.SmoothingMode.HighQuality
g.InterpolationMode = Drawing2D.InterpolationMode.HighQualityBicubic
g.Clear(Me.BackColor)
Dim sliceAngle As Single = CSng(360 / SlicesOnWheel)
Dim rect As New Rectangle(WheelLocation, New Size(WheelRadius, WheelRadius))
Dim curveWidth As Integer = CInt(WheelRadius - (WheelRadius / (2.0! * 0.9)))
Dim rect2 As New Rectangle(rect.Left + curveWidth, rect.Top + curveWidth, rect.Width - curveWidth * 2, rect.Height - curveWidth * 2)
Dim inc As UInteger = UInteger.MaxValue \ 360
For I As Single = 0 To 359 Step sliceAngle
g.FillPie(New SolidBrush(SliceColors(CInt(I / sliceAngle))), rect, I + NormalizeAngle(Angle), sliceAngle)
g.DrawPie(Pens.White, rect, I + NormalizeAngle(Angle), sliceAngle)
Next
g.FillEllipse(Brushes.Black, rect2)
g.DrawEllipse(Pens.White, rect2)
g.DrawEllipse(Pens.White, rect)
MyBase.OnPaint(e)
If SFlag Then
If Me.Text = " " Then Me.Text = "" Else Me.Text = " "
End If
gFrame.Render()
gFrame.Dispose()
MyBase.OnPaint(e)
End Sub
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles btnSpin.Click
If Not SFlag Then
Velocity = Randomizer.Next(3, 5)
NextIncrement = Velocity
SFlag = True
CntMS = 0 : SW.Reset() : SW.Start()
If Me.Text = " " Then Me.Text = "" Else Me.Text = " "
End If
End Sub
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
Me.DoubleBuffered = True
SliceColors.Add(Color.Black)
SliceColors.Add(Color.LightBlue)
SliceColors.Add(Color.SeaGreen)
SliceColors.Add(Color.Yellow)
SliceColors.Add(Color.Red)
SliceColors.Add(Color.LightBlue)
SliceColors.Add(Color.Orange)
SliceColors.Add(Color.Violet)
SliceColors.Add(Color.Yellow)
SliceColors.Add(Color.Black)
SliceColors.Add(Color.Green)
SliceColors.Add(Color.Black)
SliceColors.Add(Color.Green)
SliceColors.Add(Color.Red)
SliceColors.Add(Color.Blue)
SliceColors.Add(Color.SeaGreen)
SliceColors.Add(Color.Pink)
SliceColors.Add(Color.Black)
SliceColors.Add(Color.Purple)
SliceColors.Add(Color.SkyBlue)
SliceColors.Add(Color.Aqua)
SliceColors.Add(Color.White)
SliceColors.Add(Color.Red)
SliceColors.Add(Color.Blue)
SliceColors.Add(Color.Pink)
SliceColors.Add(Color.SeaGreen)
SliceColors.Add(Color.Orange)
ClientSize = New Size(375, 375)
Me.Show()
btnSpin.Refresh()
End Sub
Public Function NormalizeAngle(value As Single) As Single
Return value Mod 360.0!
End Function
Private Sub Form11_TextChanged(sender As Object, e As EventArgs) Handles Me.TextChanged
If Not SFlag Then Exit Sub
Angle = NormalizeAngle(Angle + NextIncrement)
NextIncrement = CSng(NextIncrement - 0.0033)
If NextIncrement <= 0.0033 Then
SFlag = False : SW.Stop() : Exit Sub
End If
Invalidate()
CntMS += 5 ' <<< set timer interval here <<<
Do Until SW.ElapsedMilliseconds > CntMS
Loop
End Sub
End Class
Public Class GraphicsFrame
Implements IDisposable
Private disposedValue As Boolean
Private BackBuffer As System.Drawing.BufferedGraphics = Nothing
Public ReadOnly Property Graphics() As System.Drawing.Graphics
Get
Return Me.BackBuffer.Graphics
End Get
End Property
Public Sub New(ByVal canvas As System.Windows.Forms.Control)
BufferedGraphicsManager.Current.MaximumBuffer = New Size(canvas.ClientRectangle.Width + 1, canvas.ClientRectangle.Height + 1)
Me.BackBuffer = BufferedGraphicsManager.Current.Allocate(canvas.CreateGraphics, New Rectangle(0, 0, canvas.ClientRectangle.Width, canvas.ClientRectangle.Height))
End Sub
Public Sub New(ByVal canvasGraphics As Graphics, maximumBuffer As Size)
BufferedGraphicsManager.Current.MaximumBuffer = New Size(maximumBuffer.Width + 1, maximumBuffer.Height + 1)
Me.BackBuffer = BufferedGraphicsManager.Current.Allocate(canvasGraphics, New Rectangle(0, 0, maximumBuffer.Width, maximumBuffer.Height))
End Sub
Public Sub New(ByVal handle As IntPtr, maximumBuffer As Size)
BufferedGraphicsManager.Current.MaximumBuffer = New Size(maximumBuffer.Width + 1, maximumBuffer.Height + 1)
Me.BackBuffer = BufferedGraphicsManager.Current.Allocate(Graphics.FromHwnd(handle), New Rectangle(0, 0, maximumBuffer.Width, maximumBuffer.Height))
End Sub
Public Sub New(ByVal canvas As Image)
BufferedGraphicsManager.Current.MaximumBuffer = New Size(canvas.Width + 1, canvas.Height + 1)
Me.BackBuffer = BufferedGraphicsManager.Current.Allocate(Graphics.FromImage(canvas), New Rectangle(0, 0, canvas.Width, canvas.Height))
End Sub
Public Sub New(ByVal canvas As Bitmap)
BufferedGraphicsManager.Current.MaximumBuffer = New Size(canvas.Size.Width + 1, canvas.Size.Height + 1)
Me.BackBuffer = BufferedGraphicsManager.Current.Allocate(Graphics.FromImage(canvas), New Rectangle(0, 0, canvas.Width, canvas.Height))
End Sub
Public Sub Render()
If Not BackBuffer Is Nothing Then BackBuffer.Render()
End Sub
Protected Overridable Sub Dispose(disposing As Boolean)
If Not Me.disposedValue Then
If disposing Then
Me.BackBuffer = Nothing
GC.Collect()
End If
End If
Me.disposedValue = True
End Sub
Public Sub Dispose() Implements IDisposable.Dispose
Dispose(True)
GC.SuppressFinalize(Me)
End Sub
End Class
Don't forget to vote for Helpful Posts and
Mark Answers!
*This post does not reflect the opinion of Microsoft, or its employees. -
What are the implications of using jquery version 1.10.2 rather than the version (1.7.1) that Adobe uses? Thanks
BobI am having trouble when my Edge Animate composition (banner ad) appears on a web page that uses jquery version 1.8.23. Some of the functionality of the host page no longer works. This occurs only when my composition is present & the functionality returns when another ad is displayed (either a Flash ad or a gif). It happens in Chrome Version 31.0.1650.63 m, Chrome Version 33.0.1738.0 canary & IE 11.
I had edited my Edge Animate files to use the Adobe CDN option & to point to another server (mine) so only the html file was needed to be placed in the ad rotator & on the host's server. I now have edited them again to include the Google CDN locations for version jquery 1.10.2 (http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js). I am waiting for the host site to try this updated html file. When I visit just this new page & the old one that pointed to 1.7.1 for that matter, it works fine.
Thank you for taking the time to read and answer my message.
Bob -
I have replaced my ibook hard drive but when I start up I get a folder with a flashing question mark. I have tried installing the OSX disk using the "C" key but can't get any further than the flashing "?." What do I do? What is the problem?
Which iBook do you have?
http://support.apple.com/kb/HT1772?viewlocale=en_US
Which version of the OS is installed, and which version are you trying to install?
You could try starting up with Startup Manager and see if it will allow you to select the OS X install disc as the startup disk. If so, maybe you can proceed from there. I would recommend repairing the hard drive first since you are evidently having a bit of a problem with it. -
Revision: 17772
Revision: 17772
Author: [email protected]
Date: 2010-09-20 15:02:50 -0700 (Mon, 20 Sep 2010)
Log Message:
Update the url in the tests to use a relative path instead of the default localhost:8400 so that the tests can pass on appservers other than the default Tomcat.
Modified Paths:
blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/EnforceEndpointValidation/Enforc eEndpointValidationFalseTest/Remoting_NetConnectionTest.mxml
blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/EnforceEndpointValidation/Enforc eEndpointValidationTrueTest/Remoting_NetConnectionTest.mxmlRevision: 17772
Revision: 17772
Author: [email protected]
Date: 2010-09-20 15:02:50 -0700 (Mon, 20 Sep 2010)
Log Message:
Update the url in the tests to use a relative path instead of the default localhost:8400 so that the tests can pass on appservers other than the default Tomcat.
Modified Paths:
blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/EnforceEndpointValidation/Enforc eEndpointValidationFalseTest/Remoting_NetConnectionTest.mxml
blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/EnforceEndpointValidation/Enforc eEndpointValidationTrueTest/Remoting_NetConnectionTest.mxml
Maybe you are looking for
-
Save adds 'copy' to the end of file name
Is there any way to stop Photoshop from adding the 'copy' suffix to files when you save them as additional formats? I'm working accross multiple Photoshop versions on multiple computers and would like to standardize the save functions. Thanks in adva
-
Merging Clips - how to keep 50fps
I have 2 quicktime-clips, both 50fps, same bandwith-rate and size. When I put them together in Quicktime and export the output changes to a lower as 50 fps. Is there an option in quicktime to keep the current fps settings?
-
What will i do, I forgot my password or passcode of my ipad , i can not open it. Please help me... thanx.
-
Form does not appear when run through Form Builder
Hello, We are trying to get a new installation of Form Builder 10g to work. When we try to run the form, the Forms Service browser comes up, but the form does not. We are likely missing a setting in some config file. Can anyone help us? Thank you,
-
Is it possible to sync 2 ipods that uses 2 seperate accounts?
Hi, my mother has two ipods using two seperate accounts. She wants to sync all of her music from one ipod to her new main one that has a few films she has paid for. Is this possible? I'm not a big user of itunes and but my mother is even worse so i c