私は下のjsにいくつかの行を追加する必要があります。 私がしたいのは、URL "%% cta %%"の末尾に#idを追加することです。 誰かが私を助けることができますか?どうもありがとう!URLの末尾に広告のアンカー
thisthing.replaceData = function (thisTemplate, htmlList, htmlOverlayer, dataJs, indexLi) {
//thisTemplate = thisTemplate.replace('%%img%%', '/B2C/ResourcesWebRevise/booking/thisthing/custom/' + dataJs + '.jpg');
thisTemplate = thisTemplate.replace('%%title%%', thisthingData.title);
thisTemplate = thisTemplate.replace('%%desc%%', thisthingData.desc);
thisTemplate = thisTemplate.replace('%%cta%%', thisthingData.cta); // bridge cta
thisTemplate = thisTemplate.replace('%%list%%', htmlList);
thisTemplate = thisTemplate.replace('%%overlayer%%', htmlOverlayer);
thisthing.print(thisTemplate, dataJs, indexLi);
}
は、だから、この 'HTTPのようなURLたい:// foo.bar /データ/ CTAの#ID/MoreData'または'のhttp://のようなfoo.bar /データ/ CTA/MOREDATA番号のid' – Oen44
何かthis /B2C/ResourcesWebRevise/booking/thisthing/custom/page.aspx#id –
それから私の答えをチェックしてください。 – Oen44