<?xml version="1.0" encoding="UTF-8"?>        <rss version="2.0"
             xmlns:atom="http://www.w3.org/2005/Atom"
             xmlns:dc="http://purl.org/dc/elements/1.1/"
             xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
             xmlns:admin="http://webns.net/mvcb/"
             xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
             xmlns:content="http://purl.org/rss/1.0/modules/content/">
        <channel>
            <title>
									Making a &quot;gif&quot; with JavaScript - Simhub General				            </title>
            <link>https://www.simhubdash.com/community-2/simhub-support/making-a-gif-with-javascript/</link>
            <description>All about SimHub!</description>
            <language>en-US</language>
            <lastBuildDate>Wed, 11 Nov 2026 15:28:18 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>Making a &quot;gif&quot; with JavaScript</title>
                        <link>https://www.simhubdash.com/community-2/simhub-support/making-a-gif-with-javascript/#post-9342</link>
                        <pubDate>Fri, 16 Aug 2024 10:28:54 +0000</pubDate>
                        <description><![CDATA[I would like to create a gif-type animation if the distance between me and the person ahead/behind increses/decreses. Since SimHUB doesn&#039;t support gif I was woundering if this could be done ...]]></description>
                        <content:encoded><![CDATA[<p>I would like to create a gif-type animation if the distance between me and the person ahead/behind increses/decreses. Since SimHUB doesn't support gif I was woundering if this could be done with JS?</p>
<p>Something like this:</p>
<pre contenteditable="false">var gapAhead = $prop('IRacingExtraProperties.iRacing_NonRelativeDriverAheadInClass_00_GapChangeLastLap')

if (gapAhead &gt;= 0) {
    return 'The JS-script would go here'
}

else {
   return 'Same JS-script, but with other images'
}</pre>
<p> </p>]]></content:encoded>
						                            <category domain="https://www.simhubdash.com/community-2/simhub-support/">Simhub General</category>                        <dc:creator>ehsanmomeni</dc:creator>
                        <guid isPermaLink="true">https://www.simhubdash.com/community-2/simhub-support/making-a-gif-with-javascript/#post-9342</guid>
                    </item>
							        </channel>
        </rss>
		