为我最新的漫画添加书签? [英] Bookmarking my latest comic?

查看:88
本文介绍了为我最新的漫画添加书签?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我非常喜欢网页设计.我了解编码已有十多年的历史了,但是从那以后就不做编码了,它慢慢地传给我,但现在也都不同了.抱歉,很长,但是我需要一个非常具体的任务.

我有一个每周的网络漫画,当我更新新漫画时,我希望访问者直接使用最新漫画,而不必做任何事情.我有它,这样当您键入主页URL时 http://www.constructeddestructioncomics.com [
问题:
一旦重定向到最新页面的最新数字URL,如果有人将其添加为书签,则书签将保存该漫画的唯一页面,并且每次单击书签都会直接将其带到该漫画,而不是最新漫画.我需要书签才能链接回最新页面.最简单的方法是什么?

尝试:
我首先尝试简单地复制"LatestComic.html"上最新漫画的代码,以避免全部重定向,但是我遇到麻烦的是共享按钮和注释无法重置,共享计数和注释仍会保留从以前的帖子.另外,由于最新的漫画向下移动,由于其新的唯一URL,其注释和共享数将重置.

然后,我尝试在"LatestComic.html"中制作iframe,但这仅仅是引起了一系列技术问题.

然后,我在"LatestComic.html"中复制了代码,并为共享按钮创建了iframe,它几乎可以正常工作,除了它的越野车,如果将鼠标悬停在共享按钮上,则弹出窗口会隐藏在框架边框的后面.
http://www.constructeddestructioncomics.com/LatestComicX.html [

I''m very green to webdesign. I understand coding from over a decade ago, but not done it since and it''s slowly coming back to me, but it''s all different now as well. Sorry it''s long but I need a very specific task.

I have a weekly webcomic that when I update with a new comic, I want my visitors to go straight to the latest comic without having to do anything on their part. I have it so that when you type the home url http://www.constructeddestructioncomics.com[^]you are redirected first to "LatestComic.html" which then redirects you to the latest comic''s individual page "050.html" or "051.html" etc. I have share and comment buttons on almost all pages so I can keep track of what''s most popular and what''s not working, but being that they are 3rd party scripts they''re tracked through the URL.

The Problem:
Once redirected to the latest numerical url for the newest page, if someone bookmarks it, then the bookmark will save that comic''s unique page and every click of the bookmark will take them straight there and not to the latest comic. I need the bookmark to link back to the latest page. What''s the easiest way to do that?

Attempts:
I first tried simply duplicating the code for the latest comic on the "LatestComic.html" to avoid the redirect all together, but where I ran into trouble was the share buttons and comments wouldn''t reset and the share count and comments would remain from the previous post. Also, as the last latest comic moves down the line it''s comments and share count would reset due to it''s new unique URL.

Then I tried making an iframe in the "LatestComic.html" and this merely caused a volley of technical issues.

I then duplicated the code in the "LatestComic.html" and created iframes for JUST the share buttons and it almost worked, except it''s buggy and if you hover over the share buttons the popups hide behind the borders of the frame.
http://www.constructeddestructioncomics.com/LatestComicX.html[^]
Here''s an example of the Share Buttons directly under the comic.

<iframe src="http://www.constructeddestructioncomics.com/ComicPanes/050.html#Share" id="Share" scrolling="no" frameborder="0" Object.style.overflow="visible" style="border:none; width:850px; height:30px;" allowTransparency="true" ></iframe>>


我最后一次尝试使用jQueries将div从漫画页面的url中拉到最新漫画"克隆的代码中,但是我必须保留了该代码,因为它不起作用.我也不确定是否可以使用它,按钮和注释是否可以读取不同的URL,或者是否仅复制代码并读取"LatestComic.html" URL,就像我键入了一样该页中的代码.注意:我会将代码发布在这里,但说实话,这可能只会让我感到尴尬,如果您知道该怎么做,最好还是从头开始编写代码.

我想念的是什么,只是有一种更简单的方法来做到这一点?


My last attempt used jQueries to pull the div''s from the comic page''s url to the Latest Comic cloned code, but I must have butchered the code because it didn''t work. I''m also not sure if had I gotten it to work, if the buttons and comments would even READ the different URL, or if it would just copy the code and read the "LatestComic.html" Url just as if I had typed the code into that page. NOTE: I''d post the code here, but honestly it''d probably just embarrass me and if you know how to do it you''re better off starting me over from scratch with the code.

What am I missing and is there just simply an easier way to do this?

推荐答案

如果我将某个页面添加为书签,则希望自己位于相应页面中另一个,我会从该页面中找到在Google中进行检查的方法.
If i bookmark a page i would like to be in the respective page more over to another one, i will find the way from that page to refer in google to check it.


这篇关于为我最新的漫画添加书签?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆